Subversion¶
svnsync¶
If a sync is interrupted (this happened due to a disk filling up), we get an error like this:
Failed to get lock on destination repos, currently held by...
We need to do the following with the target repository:
svn propdel svn:sync-lock --revprop -r 0 TARGETREPOS
where TARGETREPOS could be something like file:///home/nmagtrac/svnreposcopy/nmag or such.
If you would like to see the properties of the 0 revision first, try this:
svn proplist --revprop -r 0 file:///home/nmagtrac/svnreposcopy/nmag
(with the right repository address, of course).
undo a commit¶
See: http://svnbook.red-bean.com/en/1.4/svn-book.html#svn.branchmerge.commonuses.undo