merge with i18n stable
authorMatt Mackall <mpm@selenic.com>
Wed, 30 Nov 2011 17:16:43 -0600
branchstable
changeset 15593 f9c6a575baa4
parent 15582 3da1f60fc80d (diff)
parent 15592 db286472f79f (current diff)
child 15594 39f418979059
child 15595 a585d78e7b2f
merge with i18n
--- a/hgext/largefiles/lfcommands.py	Tue Nov 29 12:40:26 2011 -0200
+++ b/hgext/largefiles/lfcommands.py	Wed Nov 30 17:16:43 2011 -0600
@@ -71,9 +71,7 @@
             lfiles = set()
             normalfiles = set()
             if not pats:
-                pats = ui.config(lfutil.longname, 'patterns', default=())
-                if pats:
-                    pats = pats.split(' ')
+                pats = ui.configlist(lfutil.longname, 'patterns', default=[])
             if pats:
                 matcher = match_.match(rsrc.root, '', list(pats))
             else:
--- a/mercurial/patch.py	Tue Nov 29 12:40:26 2011 -0200
+++ b/mercurial/patch.py	Wed Nov 30 17:16:43 2011 -0600
@@ -1639,7 +1639,7 @@
                 if line.startswith('@'):
                     head = False
             else:
-                if line and not line[0] in ' +-@':
+                if line and not line[0] in ' +-@\\':
                     head = True
             stripline = line
             if not head and line and line[0] in '+-':
--- a/tests/test-lfconvert.t	Tue Nov 29 12:40:26 2011 -0200
+++ b/tests/test-lfconvert.t	Wed Nov 30 17:16:43 2011 -0600
@@ -5,7 +5,8 @@
   > graphlog =
   > [largefiles]
   > minsize = 0.5
-  > patterns = **.dat
+  > patterns = **.other
+  >     **.dat
   > EOF
 
 "lfconvert" works