revert - SVN does not appear to be reverting changes -


i pulled repo, made changes across several files, , want undo them.

i tried svn revert -r ., , svn revert --depth infinity . when call svn status, i'm still seeing files marked modified, , seem same before tried revert.

i saw this discussion in docs on reverting changes, seems deal going 1 commit another, rather undoing uncommitted changes.

(i not have access tortoisesvn.)

i can't give exact dump of status command, looks this:

>>svn status ?    dir/ ?    dir/ x    dir/ ?    dir/  performing status on external item @ [dir] m    file  performing status on external item @ [dir] ?    dir/ ?    dir/ ?    file ?    file x    dir/ 

according svn:externals documentation there commands recurse directories defined externals. these commands are:

  • checkout
  • update
  • switch
  • export
  • status

most of these have --ignore-externals flag letting avoid updating those.

however, using svn:externals works creating independent working copies below directory defined. aside small set of commands above, that's exactly how external directories treated. in case, svn revert skips right on external directories, because not part of working copy.

sadly appears 1 of remaining rough spots in svn:externals. you'll need change directory modified external , revert there well.

you can script readily.


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -