[PATCH] hg clone fix

aq aquynh at gmail.com
Fri Jul 1 11:40:04 UTC 2005


hello,

there is a small problem with hg version f6c6fa15ff70+20050701. when i
clone a repository (on my local system), the path of "parent" repo
stored in the clone repo is not correct.

here is more details -- i clone a repo named "xen-today" with:

hg clone xen-today/  test4

then file "test4/.hg/hgrc" contains:

[paths]
default = xen-today/

obviosly the default path is incorrect, so "hg pull" will complain and exit

applying the patch enclosed in this message, "hgrc" will be:

[paths]
default = /home/aq/projects/hg-xen/xen-today

please reply me directly, since i am not on the mercurial mailing list.


Signed-off-by: Nguyen Anh Quynh <aquynh at gmail.com>


 commands.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hgclone.patch
Type: application/octet-stream
Size: 812 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20050701/86cd6571/attachment-0001.obj>


More information about the Mercurial mailing list