[Bug 3610] New: test-subrepo-svn.t fails due to str/unicode confusion with svn 1.7

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Tue Sep 4 17:23:52 CDT 2012


http://bz.selenic.com/show_bug.cgi?id=3610

          Priority: normal
            Bug ID: 3610
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: test-subrepo-svn.t fails due to str/unicode confusion
                    with svn 1.7
          Severity: bug
    Classification: Unclassified
                OS: All
          Reporter: bos at serpentine.com
          Hardware: All
            Status: UNCONFIRMED
           Version: 2.3.1
         Component: Mercurial
           Product: Mercurial

--- hg/tests/test-subrepo-svn.t 
+++ hg/tests/test-subrepo-svn.t.err 
@@ -554,23 +554,49 @@
   archiving: 0/2 files (0.00%)
   archiving: .hgsub 1/2 files (50.00%)
   archiving: .hgsubstate 2/2 files (100.00%)
-  archiving (obstruct): 0/1 files (0.00%)
-  archiving (obstruct): 1/1 files (100.00%)
-  archiving (s): 0/2 files (0.00%)
-  archiving (s): 1/2 files (50.00%)
-  archiving (s): 2/2 files (100.00%)
-  archiving (recreated): 0 files
+  ** unknown exception encountered, please report by visiting
+  ** http://mercurial.selenic.com/wiki/BugTracker
+  ** Python 2.6 (r26:66714, Feb 23 2011, 15:30:04) [GCC 4.1.2 20071124 (Red
Hat 4.1.2-42)]
+  ** Mercurial Distributed SCM (version 2.3+33-99a2a4ae35e2)
+  ** Extensions loaded: 
+  Traceback (most recent call last):
+    File "/data/users/bryano/hg/hg/hg", line 38, in <module>
+      mercurial.dispatch.run()
+    File "/data/users/bryano/hg/hg/mercurial/dispatch.py", line 28, in run
+      sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
+    File "/data/users/bryano/hg/hg/mercurial/dispatch.py", line 65, in
dispatch
+      return _runcatch(req)
+    File "/data/users/bryano/hg/hg/mercurial/dispatch.py", line 88, in
_runcatch
+      return _dispatch(req)
+    File "/data/users/bryano/hg/hg/mercurial/dispatch.py", line 740, in
_dispatch
+      cmdpats, cmdoptions)
+    File "/data/users/bryano/hg/hg/mercurial/dispatch.py", line 514, in
runcommand
+      ret = _runcommand(ui, options, cmd, d)
+    File "/data/users/bryano/hg/hg/mercurial/dispatch.py", line 830, in
_runcommand
+      return checkargs()
+    File "/data/users/bryano/hg/hg/mercurial/dispatch.py", line 801, in
checkargs
+      return cmdfunc()
+    File "/data/users/bryano/hg/hg/mercurial/dispatch.py", line 737, in
<lambda>
+      d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
+    File "/data/users/bryano/hg/hg/mercurial/util.py", line 471, in check
+      return func(*args, **kwargs)
+    File "/data/users/bryano/hg/hg/mercurial/commands.py", line 378, in
archive
+      matchfn, prefix, subrepos=opts.get('subrepos'))
+    File "mercurial/archival.py", line 289, in archive
+    File "mercurial/subrepo.py", line 356, in archive
+    File "/data/users/bryano/hg/hg/mercurial/match.py", line 111, in __call__
+      return self.matchfn(fn)
+    File "/data/users/bryano/hg/hg/mercurial/match.py", line 182, in <lambda>
+      self.matchfn = lambda fn: matcher.matchfn(self._path + "/" + fn)
+    File "/data/users/bryano/hg/hg/mercurial/match.py", line 103, in <lambda>
+      m = lambda f: not em(f)
+  TypeError: argument 1 must be str, not unicode
+  [1]
   $ find ../archive-exclude | sort
   ../archive-exclude
   ../archive-exclude/.hg_archival.txt
   ../archive-exclude/.hgsub
   ../archive-exclude/.hgsubstate
-  ../archive-exclude/obstruct
-  ../archive-exclude/obstruct/other
-  ../archive-exclude/s
-  ../archive-exclude/s/alpha
-  ../archive-exclude/s/dir
-  ../archive-exclude/s/dir/epsilon.py

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list