Proper method for moving a directory

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
brettski
Posts: 22
Joined: Tue Sep 28, 2004 2:50 pm

Proper method for moving a directory

Post by brettski » Thu Jan 13, 2005 3:29 pm

Greetings,

I am looking for the proper method of moving a directory in vault. If this is done, does the history reflect the move?

I have:

c:\src\shelf

I would like to move the shelf directory and all its contents to:

c:\src\bookshelf

What is the proper method of doing this?
We only use the Vault GUI with a CVS style.

Thanks.

brettski
Posts: 22
Joined: Tue Sep 28, 2004 2:50 pm

Post by brettski » Thu Jan 13, 2005 6:04 pm

Perhaps this was to simple of an example since the directory could of simply been renamed what about moving:
C:\src\deep\deeper\stuff

to

C:\src\stuff

Can this be done and retain history of the folder or indicate that it was moved?

Or, is it just a case of the directory and all of its files where deleted at some point and another directory was added?

Thank you for your time.

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Thu Jan 13, 2005 8:54 pm

Unlike other version control tools, Vault fully supports renames / moves. So when a folder is moved within the Vault GUI client, the folder and all its contents ( including all history items ) are actually moved. It is not the case that a new folder is created.
Jeff Clausius
SourceGear

brettski
Posts: 22
Joined: Tue Sep 28, 2004 2:50 pm

Post by brettski » Fri Jan 14, 2005 11:08 am

Sorry for my ignorance, but I don't see a method for moving directories (or files for that matter) around. I only notice a rename feature which doesn't allow paths.

What happens when I move folders or files around in my work space? These don't appear to be noticed up by the GUI.

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Fri Jan 14, 2005 12:40 pm

Moving around files on your local disk does not work.

Move is available from the "File" menu. Search for Move within help, or see the on-line documentation - http://download.sourcegear.com/misc/vau ... /move2.htm
Jeff Clausius
SourceGear

brettski
Posts: 22
Joined: Tue Sep 28, 2004 2:50 pm

Post by brettski » Fri Jan 14, 2005 4:29 pm

Moving around files on your local disk does not work.
Hence the some of the other posts I have read.

Thanks for the pointer to the File Menu. I definitely feel ignorant.

samuel_d_jack
Posts: 27
Joined: Wed Oct 20, 2004 2:19 am

Post by samuel_d_jack » Mon Jan 24, 2005 9:31 am

I think this post indicates that putting the Move command on the right-click menu in the Source Tree might be useful. Most times when I try to invoke the Move command, I right-click on the folder first, before remembering that I need to look at the File menu.
Samuel Jack
Paragon Simulation

Post Reply