The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,779 other followers

Archive for October 28th, 2014

TortoiseSVN trick: moving files around with the Repository Browser (via: StackOverflow)

Posted by jpluimers on 2014/10/28

One of the hard things in TorsoiseSVN is moving around files and keep their version history.

You can right-drag, but that is not convenient when your VM host is a Mac. And (even if you only use the SVN commandline tools) you have to remember to:

  1. Create and commit the target directory first
  2. Move the file using TortoiseSVN
  3. Commit a directory that is common root to both the source and target directory.

Cumbersome (:

Luckily, there is a trick that works directory on the repository using the Repository Browser. It is not fast, but works splendid.

Thanks to Ralph Whitbeck for answering this on SO:

In TortoiseSVN right click somewhere and go TortoiseSVN > Repo Browser open the repository.

All you then have to do is drag and drop the file from one folder to the where you want it. It’ll ask you to add a commit message and it defaults it to “Moved file/folder remotely”

After this step, you have to perform an SVN Update from the root of your repository for the change to apply locally!

–jeroen

via: tortoisesvn – How do you move a file in SVN? – Stack Overflow.

Posted in Development, Power User, Source Code Management, Subversion/SVN | Leave a Comment »

 
%d bloggers like this: