linux - Is it possible to make a link from file A to file B in a different directory within the same SVN repository? -
within same svn repository, have 2 directories, backend/ , product/, both containing file named test.xml.
how can make link product/test.xml backend/test.xml, such after have modified file product/test.xml , done svn commit, modified test.xml doing svn backend/test.xml?
by way, seems svn externals don't work, or have used in wrong way?
yes, can use svn externals achieve want (svn 1.6+, two-thirds of way down).
first, need svn delete test.xml backend\ folder , svn commit. then, in backend\ folder, can set external thus:
me@computer:/backend$ svn propset svn:externals "^/projects/someproject/product/test.xml test.xml" .
(information special ^ (caret) character here in this answer).
it's worth noting overwrite previous value of svn:externals property on path. if need set multiple externals, save text file of these (named, say, svn.externals) in format:
(path01) (name01) (path02) (name02) (path03) (name03) . . . (pathn) (namen) and use -f switch, so:
svn propset svn:externals -f svn.externals .
you more gui client rabbitvcs.
hope helps.
Comments
Post a Comment