Vanished files

Radu Cristescu radu.c at plutohome.com
Wed May 3 05:28:19 CDT 2006


Yes, that was it. I found the "heads" command and I assumed I had to 
"merge" my head with the tip, after I sent the message to the list. This 
was kind of counter-intuitive for me, coming from the Subversion world, 
but now it makes sense :)

Anyway, after I merged my changes, doing a "hg pull" and "hg update" in 
another clone's directory with the missing files didn't bring them back. 
I probably missed something in this respect too, but I just re-cloned 
the repository instead of digging into it.

Anyway, thanks for the reply.

Johannes Stezenbach wrote:
> On Tue, May 02, 2006, radu.c at plutohome.com wrote:
>   
>> I'm using Mercurial to keep a clone of the V4L repository and I added some
>> custom files to it that don't make any sense being merged back into the
>> main repository. I did a "hg pull" yesterday to update its contents and
>> those files are gone, but the log shows only my commits to my local clone:
>>     
>
> "hg pull" alone shouldn't change your working directory, maybe
> you did a "hg update", too?
>
> Anyway, probably you now have multiple heads in your repository
> (check with "hg heads"), and the pulled revision in the working
> dir, and you need to merge your changes with the pulled changes
> ("hg merge" or "hg update -m").
>   


More information about the Mercurial mailing list