[issue3127] subpath remapping: subpath entries should be expanded after prefixing the parent repo

Martin Geisler bugs at mercurial.selenic.com
Fri Nov 25 06:26:24 CST 2011


New submission from Martin Geisler <mg at lazybytes.net>:

I got this bug report in private from David:

I'm just testing the results in 2.0 now. Basically ok so far, but I found a 
problem in windows.

Consider the following team repo structure:

team
  project
    repo
  component
    foo

and repo/.hg/.hgsub:

src/foo = src/foo

The following subpaths rule should work - and does work with team repos in 
Unix:

(.*)project/repo/src/foo = \1component/foo

Unfortunately, this is needed with team repos in windows - at least when 
cloning in the filesystem:

(.*)project\\repo/src/foo = \1component/foo

I guess you would agree this is a bug. This isn't a showstopper for us, 
since all our team repos are hosted in Linux, but I guess you would like the 
functionality to work transparently in windows too.

Regards,
David

----------
messages: 18163
nosy: lantiq, mg
priority: bug
status: unread
title: subpath remapping: subpath entries should be expanded  after prefixing the parent repo

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


More information about the Mercurial-devel mailing list