On 2007-05-21T17:51:20, Dejan Muhamedagic <[EMAIL PROTECTED]> wrote:

> $ hg log -r cc868e409675 lrm/lrmd/lrmd.c
> $ hg log -r d2639cbc3351 lrm/lrmd/lrmd.c
> 
> show nothing. Does that mean that these changesets have nothing to
> do with the lrmd.c?

That's because d2639cbc3351 doesn't change lrm/lrmd/lrmd.c _relative to
it's first parent_ - but it would have shown some relative to the second
parent. It's a merge, not a classic diff.

See my other mail for the longer explanation and a script to trace
this.

> Alan's changes were in my local repository and I never did
> anything special to preserve them. Actually, it was Alan who
> noticed that his patch became part of mine while he has been
> reviewing it. The funny thing is that they were there all the time
> and I tend to pull changes fairly regularly.

This doesn't seem to be perfectly consistent with the history in the
repository. I'd guess that at some point, possibly at the one where you
blew away your repo on May 7th or later, you had changes to lrmd.c which
weren't committed, and which you pulled over to the new repo - and as
part of that, you also pulled over Alan's changes.

Your mail about selectively committing apache.in and being notified that
trying to push would create remote branches suggests something like
that - maybe you had to commit before the merge or something and ended
up with a branch - because you can't merge with outstanding uncommitted
branches. I might even guess somewhere, somewhen, -f was involved. ;-)

I think both Alan and you use Mercurial to frequently only commit "one"
file while you have several local changes, because in this way, you can
work on "independent" changes w/o actually creating several work-spaces.
When you then commit and merge (selectively as well), seemingly weird
things sometimes happen to you.

I think
http://www.selenic.com/mercurial/wiki/index.cgi/MultipleCommitters is a
good place for some more hints about this.


Regards,
    Lars

-- 
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to