[Bug 3786] New: phase may be not pushed if --rev is used and no changeset is exchanged

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Jan 28 03:16:13 CST 2013


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

          Priority: normal
            Bug ID: 3786
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: phase may be not pushed if --rev is used and no
                    changeset is exchanged
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: pierre-yves.david at logilab.fr
          Hardware: PC
            Status: UNCONFIRMED
           Version: earlier
         Component: Mercurial
           Product: Mercurial

The following test fail on all phase enabled version

> --- a/tests/test-phases-exchange.t
> +++ b/tests/test-phases-exchange.t
> @@ -94,10 +94,23 @@ push from alpha to beta should update ph
>    |
>    o  1 public a-B - 548a3d25dbf0
>    |
>    o  0 public a-A - 054250a37db4
>    
> +  $ hg push -r 2 ../beta
> +  pushing to ../beta
> +  searching for changes
> +  no changes found
> +  [1]
> +  $ hgph
> +  @  3 draft a-D - b555f63b6063
> +  |
> +  o  2 public a-C - 54acac6f23ab
> +  |
> +  o  1 public a-B - 548a3d25dbf0
> +  |
> +  o  0 public a-A - 054250a37db4
>    $ hg push ../beta
>    pushing to ../beta
>    searching for changes
>    no changes found
>    [1]

The phase on 2 is not changeset and 2 stay draft. The push below without --rev
works as expectable.

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


More information about the Mercurial-devel mailing list