Files not getting added appropiately
authorChris Mason <mason@suse.com>
Wed, 14 Sep 2005 15:50:31 -0500
changeset 1245 d0a960b437a8
parent 1244 937ee88da3ef
child 1250 0ad3f9b27260
Files not getting added appropiately On Wed, 14 Sep 2005 15:15:13 -0400 Daniel Santa Cruz <byteshack@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:
mercurial/dirstate.py
--- a/mercurial/dirstate.py	Wed Sep 14 15:48:34 2005 -0500
+++ b/mercurial/dirstate.py	Wed Sep 14 15:50:31 2005 -0500
@@ -260,7 +260,7 @@
                             work.append(p)
                     else:
                         if statmatch(np, st):
-                            yield np
+                            yield util.pconvert(np)
 
         known = {'.hg': 1}
         def seen(fn):