Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hg Pull vs. Update to branch tip

Using TortoiseHg Synchronize, clicking "Pull" pulls down the 2nd most recent revision.

At the bottom of the Synchronize interface is a button, "Update to branch tip." Clicking this button pulls down the most recent revision.

What is happening here?

like image 945
T. Stone Avatar asked Nov 04 '09 21:11

T. Stone


1 Answers

Command line hg tells this:

$ hg help pull

...

Pull changes from a remote repository to a local one.

...

-R is specified). By default, this does not update the copy of the
project in the working directory.

vs.

$ hg help up

...

Update the repository's working directory to the specified revision, or the tip of the current branch if none is specified.

like image 94
ptman Avatar answered Oct 17 '22 19:10

ptman