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 2,115 other followers

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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

 
%d bloggers like this: