Patchwork [Bug,5061] New: Treemanifest exchange broken

login
register
mail settings
Submitter mercurial-bugs@selenic.com
Date Jan. 23, 2016, 12:56 a.m.
Message ID <bug-5061-285@https.bz.mercurial-scm.org/>
Download mbox | patch
Permalink /patch/12873/
State Not Applicable
Headers show

Comments

mercurial-bugs@selenic.com - Jan. 23, 2016, 12:56 a.m.
https://bz.mercurial-scm.org/show_bug.cgi?id=5061

            Bug ID: 5061
           Summary: Treemanifest exchange broken
           Product: Mercurial
           Version: 3.7-rc
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla@selenic.com
          Reporter: martinvonz@google.com
                CC: mercurial-devel@selenic.com

To reproduce the problem, patch the below in and run the test. It results in
"UnboundLocalError: local variable 'fclnode' referenced before assignment"
being raised.

Patch

diff -r b1b50123dc5f tests/test-treemanifest.t
--- a/tests/test-treemanifest.t Fri Jan 22 16:31:50 2016 -0800
+++ b/tests/test-treemanifest.t Fri Jan 22 16:53:10 2016 -0800
@@ -312,6 +312,12 @@  Shelving and unshelving should work
    1
   +foo

+Pushing to an empty repo make that a treemanifest repo
+
+  $ cd ..
+  $ hg --config experimental.treemanifest=1 init clone
+  $ hg push -R repo clone
+
 Create deeper repo with tree manifests.

   $ cd ..