[Bug 4428] New: Uncompressed clone results in closed branches to be displayed as open

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Oct 30 14:38:09 UTC 2014


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

          Priority: normal
            Bug ID: 4428
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Uncompressed clone results in closed branches to be
                    displayed as open
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: jbjoerk at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 3.2-rc
         Component: Mercurial
           Product: Mercurial

Tested on 2.8, 3.2rc and 3.1.2. Issue happens on the latter two, not on 2.8.

Steps to reproduce:
1) Find a repository server with a repository that has closed branches, as well
as allows uncompressed clones.
2) Clone with --uncompressed, run hg branches. Observe closed branches
displayed as open.

If you pull and retrieve new changesets, the problem fixes itself and closed
branches are correctly shown as closed.

Example output:
phb at hsphb:~$ ~/mercurial-3.2-rc/hg clone --uncompressed
http://hg.octave.org/octave octave_uncompressed
streaming all changes
12637 files to transfer, 96.3 MB of data
transferred 96.3 MB in 19.8 seconds (4.86 MB/sec)
updating to branch default
cloning subrepo gnulib-hg from http://hg.octave.org/octave/gnulib-hg
requesting all changes
adding changesets
adding manifests
adding file changes
added 17769 changesets with 95700 changes to 11138 files (+13 heads)
3079 files updated, 0 files merged, 0 files removed, 0 files unresolved
phb at hsphb:~$ cd octave_uncompressed/
(reverse-i-search)`mercurial': ~/^Crcurial-3.2-rc/hg branches --debug >
branchesphb at hsphb:~/octave_uncompressed$ ~/mercurial-3.2-rc/hg branches
default                    19263:281a36ad4907
gui-release                19256:ce9bd5ed44d2
classdef                   18095:e89c6ca811e4
gui                        15163:886d1fc9d575
release-3-4-x              12583:bb29b58e650c
axes-layout                12332:383c60604085
release-3-2-x              12121:87237a866c71
release-3-0-x              11951:9cfbc1a1bf0b
stable                     19253:eabfde4b6c56 (inactive)
---
phb at hsphb:~/octave_normal$ hg branches
default                    19263:281a36ad4907
gui-release                19256:ce9bd5ed44d2
stable                     19253:eabfde4b6c56 (inactive)
phb at hsphb:~/octave_normal$ hg branches -c
default                    19263:281a36ad4907
gui-release                19256:ce9bd5ed44d2
stable                     19253:eabfde4b6c56 (inactive)
classdef                   18095:e89c6ca811e4 (closed)
gui                        15163:886d1fc9d575 (closed)
release-3-4-x              12583:bb29b58e650c (closed)
axes-layout                12332:383c60604085 (closed)
release-3-2-x              12121:87237a866c71 (closed)
release-3-0-x              11951:9cfbc1a1bf0b (closed)
phb at hsphb:~/octave_normal$

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



More information about the Mercurial-devel mailing list