简体   繁体   中英

Simple svn propset question

I don't know svn terribly well and not sure how to do the following. I want to change a single line of the svn:externals property. On dir, svn:externals has several directories set up

>svn propget svn:externals dir
a svn://externalproject/a
b svn://externalproject/b
c svn://externalproject/c
d svn://externalproject/d

And I would like to change, say, b svn://externalproject/b to b/b1 svn://externalproject/b1

that is to say, remove off the externals and replace it with a different one. How do I do that? I'm using svn on the command line, version 1.6.9.

Instead of propset , try propedit . It's typically the easier way to modify existing properties.

Use svn propedit to edit the properties w/your configured editor. See http://svnbook.red-bean.com/en/1.0/ch07s02.html#svn-ch-7-sect-2.1

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM