hg clone
Soh Tk-r28629
tksoh at freescale.com
Wed Jun 22 06:17:41 UTC 2005
> -----Original Message-----
> > Nevermind the update, but any particular reasons we have to mkdir,
> > cd & init explicitly?
>
> a) it makes it easy to import an existing project
> b) there's no concept of repository names in Mercurial
> c) if they did, they'd tend to collide or conflict in annoying ways
> d) we'd need to add an option to not create it in a subdirectory
>
> I'd probably accept a -D <name> switch to init to do the mkdir && cd
I understand your concerns. Actually, all we need is for clone to be a canned command that does the three (or four, optionally) steps, nothing more than something like a shell script or alias would do. No change to the underlying hg engine.
Having said that, I could have made an alias or script to do the same thing, but thought it should be built in if users find it handy.
More information about the Mercurial
mailing list