Magic Lantern Forum

Developing Magic Lantern => General Development => Topic started by: Marsu42 on September 20, 2012, 10:32:37 AM

Title: How to update local reposititoy to latest rev?
Post by: Marsu42 on September 20, 2012, 10:32:37 AM
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!
Title: Re: How to update local reposititoy to latest rev?
Post by: nanomad on September 20, 2012, 10:33:36 AM
You need to pull before updating :)

http://mercurial.selenic.com/wiki/Tutorial
Title: Re: How to update local reposititoy to latest rev?
Post by: Marsu42 on September 20, 2012, 10:35:31 AM
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.