[issue2316] Schemes on Windows don't work on clone

Tom Conerly bugs at mercurial.selenic.com
Tue Aug 3 17:31:33 UTC 2010


New submission from Tom Conerly <tom at fogcreek.com>:

A clone on windows where the source comes from a scheme pointing locally 
doesn't save the proper path in .hg/hgrc.

Example:
C:\temp\aaa\blah is a simple repo. 

My hgrc file is:
[extensions]
hgext.schemes=
[schemes]
local = file://C:/temp/aaa/

PS C:\temp\bbb> hg clone local://blah stuff
updating to branch default
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
PS C:\temp\bbb> cd stuff
PS C:\temp\bbb\stuff> cat .hg/hgrc
[paths]
default = C:\temp\bbb\local:\blah
PS C:\temp\bbb\stuff> hg in
abort: repository C:\temp\bbb\local:\blah not found!

I am using Windows 7 with Mercurial 1.6.

----------
messages: 13283
nosy: TomCon
priority: bug
status: unread
title: Schemes on Windows don't work on clone

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


More information about the Mercurial-devel mailing list