[issue2796] Remote clone doesn't clone subrepos

lucck bugs at mercurial.selenic.com
Thu May 5 12:35:50 UTC 2011


New submission from lucck <lucck at boff.pl>:

Clone repository with subrepos works only on local filesystems, but when i 
tried to clone on remote host over ssh subrepos are not cloned for example:

C:\temp>hg init root
C:\temp>cd root
C:\temp\root>hg init sub
C:\temp\root>echo sub = sub > .hgsub
C:\temp\root>hg add .hgsub
C:\temp\root>cd su
C:\temp\root\sub>echo 1 > test.txt
C:\temp\root\sub>hg add test.txt
C:\temp\root\sub>hg commit
C:\temp\root\sub>cd ..
C:\temp\root>hg commit
committing subrepository sub
C:\temp\root>ls
sub
C:\temp\root>hg commit
nothing changed
C:\temp\root>hg clone . ../clone2
updating to branch default
pulling subrepo sub from C:\temp\root\sub
requesting all changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
C:\temp\root>hg clone . ssh://hg@boff.pl:687/tt3
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 2 changes to 2 files

I use mercurial 1.8.3

----------
messages: 16194
nosy: lucck
priority: bug
status: unread
title: Remote clone doesn't clone subrepos

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2796>
____________________________________________________


More information about the Mercurial-devel mailing list