Svn update <directory> -r HEAD --force Still leaves dirty copies of local files
I want to update to the latest version of selenium code (http://selenium.googlecode.com/svn/trunk) daily.
I just select the folder in my eclipse, right-click the command and select upgrade to HEAD.Buty, this leaves a dirty copy of some directories and files.
I'm looking for: I always want to check the latest code from the repository for a local directory overwriting local changes, if any
NOTE. I don't have commit rights, I just want the latest code from the repository to override my local changes.
+6
javanoob
source share2 answers
First you need to do svn revert -R <directory> .
svn update --force forces the update to overwrite untranslated files, not local changes to versioned files.
+16
Oliver Charlesworth
source shareUse this line:
svn revert -R .;svn up +1
diyism
source share