Esoteric Subversion Commands

Posted by Chris Blackburn Sun, 15 Jun 2008 21:42:00 GMT

Make a file executable, aka. set the execute/executable bit on a file using subversion:

svn ps svn:executable true path/to/filename

Ignore a file or file glob:

svn ps svn:ignore "*.pattern" path/to/directory

Merge two repositories:

svn merge --ignore-ancestry "$prod@HEAD" "$branch@HEAD" "$path"

example:

@svn merge svn://svn.cbciweb.com/svn/fakepath/trunk svn://svn.cbciweb.com/svn/fakepath/branches/stage /home/cblackburn/src/ruby/fake_project@

... after the merge don’t forget to commit.

Posted in  | Tags , , , , , ,  | no comments | no trackbacks

Comments

Trackbacks

Use the following link to trackback from your own site:
http://blog.cbciweb.com/trackbacks?article_id=esoteric-subversion-commands&day=15&month=06&year=2008

(leave url/email »)

   Comment Markup Help Preview comment