unexpected behavior pushing to repo w/ more than one branch
Faheem Mitha
faheem at email.unc.edu
Thu Apr 20 20:49:03 UTC 2006
On Thu, 20 Apr 2006 16:22:16 -0400, Diab Jerius <dj at head.cfa.harvard.edu> wrote:
> I'm confused by the following behavior:
>
> I have a repo with two branches. If I clone the repo, make changes,
> then try to push the changes, hg complains about creating a new branch
> in the master repo:
[snip]
> I don't see why it should create a new branch. If instead I pull from
> the master, it doesn't complain, and doesn't create another branch.
[snip]
> This is the behavior I'd expect from a push.
>
> If I push with -f, I also don't get another branch.
>
> If I strip off the older branch from both repos, the push is performed
> without complaint.
>
> Am I missing something?
No. I think this is
http://www.selenic.com/mercurial/bts/issue179
Only seems to show up with multi-headed repositories.
Faheem.
More information about the Mercurial
mailing list