Pushing creates additional heads without --force on old repos in 1.3
Benoit Boissinot
benoit.boissinot at ens-lyon.org
Tue Jul 14 17:04:53 CDT 2009
On Tue, Jul 14, 2009 at 09:19:13PM +0200, Kastner Masilko, Friedrich wrote:
> From: Benoit Boissinot [mailto:benoit.boissinot at ens-lyon.org]
> > I guess it was a change in behaviour. With 1.3, no new head is added
> > *per named-branch*, not *per-repo*.
>
> I understand that. The point is that we don't use or have other
> named-branches besides "default" in the repository. Therefore there
> should be no difference between "per named-branch" and "per-repo" in
> this case. I suspect it is a bug.
if that's the case, yes it's a bug.
>
> I'm not familiar with the Python command-line debugger available in
> the Mercurial distro of TortoiseHG 0.8 for Windows - how to set
> breakpoints there for e.g. the prepush() function in the
> localrepository class in mercurial/localrepo etc... Can anybody give
> me a hint how to use it in order to find the reason for this
> (supposedly wrong) behaviour?
hg --debugger ....
then you're into pdb, you can use `break` to add a breakpoint, then
continue to run the command.
http://docs.python.org/library/pdb.html#debugger-commands
regards,
Benoit
--
:wq
More information about the Mercurial
mailing list