How to update local reposititoy to latest rev?

Started by Marsu42, September 20, 2012, 10:32:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Marsu42

This is a bit embarrassing, but I just cannot get Mercurial to update my repository. Even if there is a update "hg update" just shows "0 files updated, 0 files merged, 0 files removed, 0 files unresolved". If I try to force the newest revision via "hg update -r 00110a6f83aa" it says "abort: unknown revision '00110a6f83aa'!". This is what "hg summary" shows:

parent: 4756:04ef6f499dc2 tip
delete splash screen
branch: unified
commit: 1 modified
update: (current)

A fresh checkout via "hg clone https://bitbucket.org/hudson/magic-lantern/ -u unified" gets the new files, but of course kills all local changes. Argh - help please!

nanomad

EOS 1100D | EOS 650 (No, I didn't forget the D) | Ye Olde Canon EF Lenses ('87): 50 f/1.8 - 28 f/2.8 - 70-210 f/4 | EF-S 18-55 f/3.5-5.6 | Metz 36 AF-5

Marsu42

Quote from: nanomad on September 20, 2012, 10:33:36 AM
You need to pull before updating :)

Thanks, that works - old school /me is used to Subversion where "svn update" is working for the simple minded just fine :-p

PS: you could add this step to http://magiclantern.wikia.com/wiki/Build_instructions ... I expected this to be conclusive so I didn't feel the need to wade through the Mercurial doc.