Should "hg --cwd DIR push RELATIVE" treat RELATIVE wrt DIR?
rlb at defaultvalue.org
Wed Sep 21 00:40:34 CDT 2005
I just tried
hg --cwd ./debian push ../other-branch/debian
and it failed:
pushing to ../other-branch/debian
abort: repository ../other-branch/debian/.hg not found!
It looks like hg is changing to ./debian before interpreting the
destination path since this worked:
hg --cwd ./debian push ../../other-branch/debian
I wasn't sure if this was intended behavior. It does mean that you
can't use tab-completion for a relative destination when using --cwd.
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
More information about the Mercurial