Misleading instructions in "learning with workflows" guide

Javier Candeira javier at candeira.com
Fri Jan 8 04:21:27 CST 2010


I will just paste the conversation I have just had on #mercurial on
irc.freenode.org

11:09 < kandinski> hi, is the person responsible for
                   http://mercurial.selenic.com/guide/ here?
11:10 < kandinski> in any case, I think I have found an error, but then I am a
                   n00b that was following the guide... I better discuss it
                   here before filing the bug
11:10 < kandinski> guide says to init the hg directory, then add files, then
                   make changes, then commit
11:11 < kandinski> if you do that, you lose your first diff
11:11 < tonfa> yes, you probably shouldn't make changes
11:11 < kandinski> proper workflow for working with some files is init the
                   directory, then add files, then commit, then make changes,
                   then commit
11:11 < pmezard> right
11:11 < kandinski> commit 0 is the original files, commit 1 your first set of
                   changes
11:12 < kandinski> well, then the guide is wrong, or misleading
11:12 < kandinski> where do I file the bug?
11:12 < pmezard> send a message to mercurial at selenic.com

Thanks, and also thanks for writing such a clear guide (even with this
little snag!).

Javier Candeira


More information about the Mercurial mailing list