https://bz.mercurial-scm.org/show_bug.cgi?id=5589

            Bug ID: 5589
           Summary: Uncompressed clones transfer secret commits
           Product: Mercurial
           Version: 4.2.1
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: bug
          Priority: normal
         Component: Mercurial
          Assignee: bugzi...@mercurial-scm.org
          Reporter: matt_harbi...@yahoo.com
                CC: mercurial-devel@mercurial-scm.org

$ hg init src && cd src
  $ touch file1.txt
  $ hg ci -Aqm start
  $ echo change > file1.txt
  $ hg ci -m secret --secret
  $ hg up -q .^
  $ echo change2 > file1.txt
  $ hg ci -m public
  created new head
  $ hg log -T "{rev}: {phase}\n" -G
  @  2: draft
  |
  | o  1: secret
  |/
  o  0: draft
  $ hg serve --config server.uncompressed=True --config
server.preferuncompressed=True


  $ hg clone http://localhost:8000 dst
  streaming all changes
  3 files to transfer, 1.05 KB of data
  transferred 1.05 KB in 0.1 seconds (9.06 KB/sec)
  searching for changes
  no changes found
  updating to branch default
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved

  $ hg log -T "{rev}: {phase}\n" -G -R dst
  @  2: public
  |
  | o  1: public
  |/
  o  0: public

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to