Re: [Python-Dev] Hg tips (was Re: [Python-checkins] cpython (merge default -> default): Merge heads.)

2011-10-02 Thread Vlad Riscutia
Great tips. Can we add them to the developer guide somewhere? Thank you, Vlad On Thu, Sep 29, 2011 at 12:54 AM, Ezio Melotti wrote: > Tip 1 -- merging heads: > > A while ago Éric suggested a nice tip to make merges easier and since I > haven't seen many people using it and now I got a chance to

Re: [Python-Dev] Hg tips

2011-09-29 Thread Georg Brandl
Am 29.09.2011 17:11, schrieb Barry Warsaw: > On Sep 29, 2011, at 12:07 PM, Victor Stinner wrote: > >> I disabled the merge GUI: I lose a lot of work because I'm unable to use a >> GUI to do merge, I don't understand what are the 3 versions of the same file >> (which one is the merged version!?) >

Re: [Python-Dev] Hg tips

2011-09-29 Thread Georg Brandl
Am 29.09.2011 12:50, schrieb Victor Stinner: > Le 29/09/2011 12:34, Xavier Morel a écrit : >> Generally none. By default, mercurial (and most similar tools) sets up >> LOCAL, BASE and OTHER. BASE is the... > > Sorry, but I'm unable to remember the meaning of LOCAL, BASE and OTHER. > In meld, I h

Re: [Python-Dev] Hg tips

2011-09-29 Thread Barry Warsaw
On Sep 29, 2011, at 12:07 PM, Victor Stinner wrote: > I disabled the merge GUI: I lose a lot of work because I'm unable to use a > GUI to do merge, I don't understand what are the 3 versions of the same file > (which one is the merged version!?) Emacs users should look at smerge-mode. It has som

Re: [Python-Dev] Hg tips

2011-09-29 Thread Xavier Morel
On 2011-09-29, at 12:50 , Victor Stinner wrote: > Le 29/09/2011 12:34, Xavier Morel a écrit : >> Generally none. By default, mercurial (and most similar tools) sets up >> LOCAL, BASE and OTHER. BASE is the... > > Sorry, but I'm unable to remember the meaning of LOCAL, BASE and OTHER. In > meld,

Re: [Python-Dev] Hg tips

2011-09-29 Thread Stefan Krah
Victor Stinner wrote: > Because a merge is a new commit, I suppose that I can do something to > get my local changes back. But, well, I just prefer the "legacy" (?) > merge flavor: > > local > ... > === > ... > >>> other > > It's easier for my brain because I just have 2 versions of the s

Re: [Python-Dev] Hg tips

2011-09-29 Thread Victor Stinner
Le 29/09/2011 12:34, Xavier Morel a écrit : Generally none. By default, mercurial (and most similar tools) sets up LOCAL, BASE and OTHER. BASE is the... Sorry, but I'm unable to remember the meaning of LOCAL, BASE and OTHER. In meld, I have to scroll to the end of the filename so see the file

Re: [Python-Dev] Hg tips

2011-09-29 Thread Xavier Morel
On 2011-09-29, at 12:07 , Victor Stinner wrote: > > * I disabled the merge GUI: I lose a lot of work because I'm unable to use a > GUI to do merge, I don't understand what are the 3 versions of the same file > (which one is the merged version!?) Generally none. By default, mercurial (and most si

Re: [Python-Dev] Hg tips

2011-09-29 Thread Victor Stinner
Le 29/09/2011 09:54, Ezio Melotti a écrit : Tip 1 -- merging heads: A while ago Éric suggested a nice tip to make merges easier and since I haven't seen many people using it and now I got a chance to use it again, I think it might be worth showing it once more: # so assume you just committed so

[Python-Dev] Hg tips (was Re: [Python-checkins] cpython (merge default -> default): Merge heads.)

2011-09-29 Thread Ezio Melotti
Tip 1 -- merging heads: A while ago Éric suggested a nice tip to make merges easier and since I haven't seen many people using it and now I got a chance to use it again, I think it might be worth showing it once more: # so assume you just committed some changes: $ hg ci Doc/whatsnew/3.3.rst -m 'U