[issue3131] moving file to subrepo causes updates to previous revisions fail on Windows

Piotr Klecha bugs at mercurial.selenic.com
Tue Nov 29 04:50:23 CST 2011


New submission from Piotr Klecha <pklecha at forcom.com.pl>:

On Windows replacing a repo subdirectory that contains capital letters with 
a subrepo causes updates to previous revisions fail.

The following script demonstrates this behaviour:

hg init repo
cd repo
mkdir SubRepo
cd SubRepo
echo Yeti > Yeti
hg add
hg commit -m "Yeti"
hg init
hg add
hg commit -m "SubRepo Yeti"
cd ..
echo SubRepo = SubRepo > .hgsub
hg add .hgsub
hg commit -m "Sub"

Now updates to 0 and null eventually fail, either:

hg up null
abort: path 'SubRepo/Yeti' is inside nested repo 'subrepo'

or:

hg up 0
hg up null
hg up 0
abort: path 'SubRepo/Yeti' is inside nested repo 'subrepo'

----------
messages: 18178
nosy: czarnyczarodziej
priority: bug
status: unread
title: moving file to subrepo causes updates to previous revisions fail on Windows

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


More information about the Mercurial-devel mailing list