[PATCH] Fix path handling on Windows
vadim at mbdsys.com
vadim at mbdsys.com
Sat Aug 13 06:47:42 CDT 2005
Bryan O'Sullivan wrote:
>
> def matchpats(repo, cwd, pats = [], opts = {}, head = ''):
>diff -r 087771ebe2e6 -r 509de8ab6f31 mercurial/hg.py
>--- a/mercurial/hg.py Fri Aug 12 19:16:58 2005
>+++ b/mercurial/hg.py Fri Aug 12 23:06:52 2005
>@@ -312,14 +312,14 @@
> l = file(self.wjoin(".hgignore"))
> for pat in l:
> if pat != "\n":
>- p = util.pconvert(pat[:-1])
>+ p = pat[:-1]
> try:
>- r = re.compile(p)
>+ re.compile(p)
> except:
> self.ui.warn("ignoring invalid ignore"
> + " regular expression '%s'\n" % p)
> else:
>- bigpat.append(util.pconvert(pat[:-1]))
>+ bigpat.append(p)
> except IOError: pass
>
>
>
Brian,
It seems that this will disallow glob type patterns
Vadim
More information about the Mercurial
mailing list