possible to rename and edit in single transaction?

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
grant
Posts: 20
Joined: Mon Sep 26, 2005 7:18 pm
Location: Miyazaki

possible to rename and edit in single transaction?

Post by grant » Fri Feb 03, 2006 12:02 am

hi,

i'm using delphi for coding. in order to compile, stuff at the top of the file needs to be matching the filename. eg. in a file called myFile.pas, i need to have text that says something like this:

Code: Select all

unit myFile;
i would like to have a single vault transaction in which i rename the file, and also edit that stuff at the top, so that everything compiles again when i commit the transaction. (that's the point of transactions, right?)

but when i tried it, my transaction failed. is there something tricky i need to do to get this working? fortunately, no-one was looking this time, but i might need to do this again sometime in the future.

cheers,
grant

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Fri Feb 03, 2006 8:23 am

Unfortunately, this is not possible right now. However, this has been requested before, and is something we will be working on. I'll add your vote to the feature request.

grant
Posts: 20
Joined: Mon Sep 26, 2005 7:18 pm
Location: Miyazaki

Post by grant » Wed Feb 08, 2006 7:30 pm

ok, well in that case, please can you add 35 votes, cos all our licensees use delphi.

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Thu Feb 09, 2006 8:45 am

Will do. We are hoping to support this in a 4.0 release, to be released at the end of this year.

Locked