[issue2285] hg cp/mv doesn't know that absolute paths can be in the same repo on Windows

Marcus Lindblom bugs at mercurial.selenic.com
Tue Jul 13 12:13:38 UTC 2010


New submission from Marcus Lindblom <macke at yar.nu>:

When using absolute path, hg complains that the target/source destination is 
not under root, which it clearly is:

D:\Orcamp\Apps\OPRoomViewer\Resources>hg root
D:\Orcamp 

D:\Orcamp\Apps\OPRoomViewer\Resources>hg cp about.png 
\Orcamp\Apps\ClientTool\Resources
abort: \Orcamp\Apps\ClientTool\Resources\about.png not under root

D:\Orcamp\Apps\OPRoomViewer\Resources>hg cp about.png 
/Orcamp/Apps/ClientTool/Resources
abort: /Orcamp/Apps/ClientTool/Resources\about.png not under root

----------
messages: 13086
nosy: marcusl
priority: bug
status: unread
title: hg cp/mv doesn't know that absolute paths can be in the same repo on Windows

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


More information about the Mercurial-devel mailing list