init: mercurial creates directories higher up than reporoot?

Adrian Buehlmann adrian at cadifra.com
Mon Aug 22 05:03:47 CDT 2011


On 2011-08-22 11:42, Adrian Buehlmann wrote:
> Let's do:
> 
>   $ hg init foo/bar/bla
> 
> Huh?

Just in case: It's not specific to Windows:

  adi at ubuntu1:~/tmp$ ls
  adi at ubuntu1:~/tmp$ hgc init foo/bar/bla
  adi at ubuntu1:~/tmp$ ls
  foo
  adi at ubuntu1:~/tmp$ hgc -q version
  Mercurial Distributed SCM (version 1.9.1+31-ef43610a4cce)

(hgc is my "crew" mercurial on that Ubuntu)


More information about the Mercurial-devel mailing list