Successful push but changes in pushed file are missing

Juliana Arnolds Juliana.Arnolds at Sun.COM
Thu Oct 2 15:16:54 CDT 2008


Benoit Boissinot wrote:
> On Thu, Oct 2, 2008 at 9:35 PM, Juliana Arnolds <Juliana.Arnolds at sun.com> wrote:
> 
>>Peter Hosey wrote:
>>
>>>On Oct 02, 2008, at 12:12:01, Juliana Arnolds wrote:
>>>
>>>What does "hg parents" say in each repository?
>>
>>Uh oh....the "hg parents" output is different for the local and the remote repositories....when I
>>perform an "hg log" on both repositories, the logs are the same.  I'm relatively new to Mercurial so
>> I'll have to read about this --
>>
>>
>>>Have you run hg update on the remote repository?
>>
>>Yes -- states that the repository is up-to-date and the head for the remote repository matches the
>>head for the local one.
>>
> 
> Are branches involved ? do you use the same hg version on both sides ?

Both the local and the remote repositories are using the same Mercurial version, 1.0.  As far as 
branches are concerned, I believe we are dealing with branches since there are two repositories that 
were cloned from the same remote repository.  According to the write-up about branches 
(http://www.selenic.com/mercurial/wiki/index.cgi/Branch), it states:

"The creation of a branch can also happen in two different repositories R1 and R2, both containing 
the same parent changeset P, and a user committing a new changeset C1 in R1 using P as its parent 
and a second user (or the same user) committing another new changeset C2 in R2 using the same 
changeset P as parent. From that perspective, each of these repositories may be seen as a "branch"."



More information about the Mercurial mailing list