update into a different folder?

Jack Beauregard jbeauregard.ch at gmail.com
Mon Aug 1 10:06:41 UTC 2011


Hello all,

can I running hg update into a different folder?

Currenty I do this:
$ cd /a
$ hg clone... a
# now I have /a/a/.hg
# I have to run hg update now.
# Now I have in /a/a/ the .hg folder and some project folders
# But I'd like to update in this way that I get this structure: /a/
a/.hg and /a/a/myProject/some project folders

I did mkdir myProject in /a/a/, cd myProject, hg update, but it still
creates the project folders in /a/a/.

Is it possible?

best regards
Jack




More information about the Mercurial mailing list