[issue2829] archive with subrepos and an empty working copy

beertenf bugs at mercurial.selenic.com
Wed May 25 03:16:23 CDT 2011


New submission from beertenf <francois.beerten at euresys.com>:

Trying to archive with "-S" a version of a clean repository which contains a
subrepository misses the subrepository.

Steps:
 hg init a
 cd a
 echo text > a.txt
 hg add a.txt
 hg ci -m "text file"
 cd ..
 hg init b
 cd b
 echo "sub = ../a" > .hgsub
 hg add .hgsub
 hg ci -m subrepo
 cd ..
 hg clone -U b c
 cd c
 hg archive -S -r tip archive.tar.gz
In this example the archive won't contain the subrepository. In other tests
the archive was corrupted (I don't have a procedure for it).

----------
messages: 16378
nosy: beertenf
priority: bug
status: unread
title: archive with subrepos and an empty working copy
topic: subrepo

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


More information about the Mercurial-devel mailing list