[issue228] hg add does not work in root directory on windows

Manpreet Singh mercurial-bugs at selenic.com
Thu May 4 01:33:58 CDT 2006


New submission from Manpreet Singh <junkblocker at yahoo.com>:

C:\>hg init

C:\tmp>more .hgignore
syntax: glob

*.*
*
.*

syntax: regexp
^\.pc/

C:\>dir AUTOEXEC.BAT
 Volume in drive C is SeeDrive
 Volume Serial Number is 281A-B9CE

 Directory of C:\

08/29/2002  04:00 AM             1,688 AUTOEXEC.BAT
               1 File(s)          1,688 bytes
               0 Dir(s)  18,554,884,096 bytes free

C:\>hg add AUTOEXEC.BAT
abort: AUTOEXEC.BAT not under root

--------
C:\tmp>hg init

C:\tmp>more .hgignore
syntax: glob

*.*
*
.*

syntax: regexp
^\.pc/

C:\tmp>dir
 Volume in drive C is SeeDrive
 Volume Serial Number is 281A-B9CE

 Directory of C:\tmp

05/03/2006  11:31 PM    <DIR>          .
05/03/2006  11:31 PM    <DIR>          ..
05/03/2006  11:31 PM    <DIR>          .hg
05/03/2006  11:30 PM                58 .hgignore
05/03/2006  11:28 PM             1,688 AUTOEXEC.BAT
               2 File(s)          1,746 bytes
               3 Dir(s)  18,554,736,640 bytes free

C:\tmp>hg add AUTOEXEC.BAT
adding AUTOEXEC.BAT

--------------

----------
messages: 1143
nosy: junkblocker
priority: bug
status: unread
title: hg add does not work in root directory on windows

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



More information about the Mercurial mailing list