[BUG] Files not getting added appropiately

Chris Mason mason at suse.com
Wed Sep 14 14:38:12 CDT 2005


On Wed, 14 Sep 2005 15:15:13 -0400
Daniel Santa Cruz <byteshack at gmail.com> wrote:

> c:> hg debugstate
> a 666          0 09/14/05 15:11:44 a/aa\aa.a
> a 666          0 09/14/05 15:11:47 a/aa\aa.b  <---- notice mixed
> slashes
> 
> This all seems very confusing....

Please try this:

diff -r cc756ffd4d04 mercurial/dirstate.py
--- a/mercurial/dirstate.py	Wed Sep 14 00:33:18 2005
+++ b/mercurial/dirstate.py	Wed Sep 14 15:35:38 2005
@@ -260,7 +260,7 @@
                             work.append(p)
                     else:
                         if statmatch(np, st):
-                            yield np
+                            yield util.pconvert(np)
 
         known = {'.hg': 1}
         def seen(fn):


More information about the Mercurial mailing list