[PATCH] fix bug in parsing non-rooted .hgignore pattern
TK Soh
teekaysoh at yahoo.com
Mon Nov 7 06:15:35 UTC 2005
# HG changeset patch
# User TK Soh <teekaysoh at yahoo.com>
# Node ID 0d199bad55713e5570bf6300f752de336dd38611
# Parent b254243b71595549519a558b1e134a6312235480
fix bug in parsing non-rooted .hgignore pattern
diff -r b254243b7159 -r 0d199bad5571 mercurial/dirstate.py
--- a/mercurial/dirstate.py Fri Nov 04 11:37:45 2005 -0800
+++ b/mercurial/dirstate.py Mon Nov 07 14:19:51 2005 +0800
@@ -71,7 +71,7 @@
self.ui.warn(_("ignoring invalid syntax '%s'\n") % s)
continue
pat = syntax + line
- for s in syntaxes.values():
+ for s in syntaxes.keys():
if line.startswith(s):
pat = line
break
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
More information about the Mercurial
mailing list