

edit svn:ignore at current dir (to ignore or unignore files).so, NB: doesn't seem to add dot files, subsumed in my svn-add-all.sh script (in ~/tools) Svn add -force * -auto-props -parents -depth infinity -q (why one would want to do that is unclear) remove directory from SVN version control (but not local contents).Or (but that shows all properties, not just svn:ignore): Svn propset -recursive svn:ignore -file /path/to/a/file/with/svn-ignore-rules. See my svn-rec-add-ignore.sh script (in ~/tools). recursively add new ignored patterns in SVN.This will also add the ignored files, because the command line expands * and therefore svn add believes that you want all files to be added. to add all local files (but not the ignored ones).It seems to correctly restore directories too (all files in said directory are restored to Then, (assuming the revision was 'r144' and the file 'foo') do a: recover deleted files from an SVN repositoryįind the revision on which the file was present with svn log -verbose.The directory in step #1 above is to just move it out of the way so you can copy back any untracked

Of course this wipes any untracked files so better than deleting
#Svn diff revisions update#
> local unversioned, incoming add upon update Yeah, it's a bit ugly and non-deterministic I am afraid.Ī response like the following upon svn status (following a svn update): Sprinkle the above instructions liberally with a few svn revert too. SVN tree and then move it in place (after rm-ing the previous directory that existed in its place), again Or also try instead of the above silly moving around of directories to svn co the problematic directory somewhere outside the svn update is now (mysteriously) clean.do an svn update and svn status (you should see a bunch of files marked with `D`).svn directory out of the way to some other location in the filesystem (outside of the SVN tree) Sometimes just doing an svn cleanup seems to work. Skipped 'ivoa-console-utils/sval' - An obstructing working copy was found I've encountered the following message upon svn update: message "obstructing working copy was found".

show which commits changed a specific file.do a visual diff between a file and a revision of it.Svn update -r 666 file … or to just view it without changing the working copy: The following command (executed at the root of my entire repository) save the day: … which was my intention, I mistyped and executed the dreaded:
#Svn diff revisions how to#
