[issue709] hg parents not working with backward slashes nor full patchnames in windows (haven't tried unix)

Niclas Lindgren mercurial-bugs at selenic.com
Mon Aug 27 20:30:23 CDT 2007


New submission from Niclas Lindgren <xtravagan at hotmail.com>:

hg parents does not seem to handle full path names or names with backward 
slashes in them.

I believe it should be able to handle both given that it knows its root. 

PS F:\Backup\source> hg parents MyLibCopy/HashTable.cpp
changeset:   8:e7efaaab2cda
branch:      dev
user:        Niclas Lindgre <niclas.lindgren at gmail.com>
date:        Tue Aug 28 02:54:42 2007 +0200
summary:     Dev change

PS F:\Backup\source> hg parents MyLibCopy\HashTable.cpp
abort: 'MyLibCopy\HashTable.cpp' not found in manifest!
PS F:\Backup\source> hg parents F:\Backup\source\MyLib\HashTable.cpp
abort: 'F:\Backup\source\MyLib\HashTable.cpp' not found in manifest!
PS F:\Backup\source> hg parents F:/Backup/source/MyLib/HashTable.cpp
abort: 'F:/Backup/source/MyLib/HashTable.cpp' not found in manifest!
PS F:\Backup\source> hg root
F:\Backup\source
PS F:\Backup\source>

----------
messages: 3926
nosy: xtravagan
priority: bug
status: unread
title: hg parents not working with backward slashes nor full patchnames in windows (haven't tried unix)

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



More information about the Mercurial-devel mailing list