Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jplindstrom (594)

jplindstrom
  (email not shown publicly)

Journal of jplindstrom (594)

Saturday April 10, 2004
05:27 PM

TortoiseSVN tip

[ #18273 ]

I just tried to move a file from one directory to another. The class changed from Game::Worm to Game::Object::Worm so it needed a new place to live.

The TortoiseSVN docs said to Rename it to the new name, or Right-Drag-n-drop and chose "Move files in Subversion" or somesuch.

That didn't work. Because as before, I hadn't added the new directory Object to Subversion, and so TortoiseSVN didn't recognize it as a valid destination.

So I had to first create the Object directory, then Add it to Subversion, Commit the change, then Move the file to the new directory, then Commit that change.

The status icons are a lifesaver for this, I don't think I would have figured this out without that feedback (non-version-controlled files don't have the status color blob).

I'm not sure if this is 100% right, because even though I think there is a link between the old and new path, the file looks like it was deleted from the first location and added to the first. Maybe that's normal. Maybe it's a leaky abstraction.

(And maybe the use of the phrase "leaky abstraction" increased a thousandfold when Joel Spolsky wrote about it.)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.