Completely baffled

Isaac Jurado diptongo at gmail.com
Mon Dec 5 04:23:24 CST 2011


On Mon, Dec 5, 2011 at 10:37 AM, Liam Routt <liam.routt at mediasaints.com> wrote:
>
> Just as a followup, we managed to lose the last two days of work by one of
> our developers today with Mercurial, which really hurts.
>
> Prior to doing the checkin of the work he'd done, he did a pull + update.

This is a bad practice and a curse inherited from Subversion and similar
systems (like Bazaar in centrlized mode).

In distributed VCS you always commit first, then pull and merge (or
rebase, depends on how confident you are with the tool).  I had a hard
time explaining my colleagues at work to stop using "hg pull -u" and
commiting first instead.

Cheers.

-- 
Isaac Jurado

"The noblest pleasure is the joy of understanding"
Leonardo da Vinci


More information about the Mercurial mailing list