[Python-Dev] Workflow proposal

Nick Coghlan ncoghlan at gmail.com
Wed Mar 23 14:37:15 CET 2011


On Wed, Mar 23, 2011 at 11:30 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:
> On Wed, 23 Mar 2011 12:30:17 +0900
> "Stephen J. Turnbull" <stephen at xemacs.org> wrote:
>> Antoine Pitrou writes:
>>
>>  > Now, "hg strip" should definitely be absent of any recommended or even
>>  > suggested workflow. It's a power user tool for the experimented
>>  > developer/admin. Not the average hg command.
>>
>> So what you're saying is that Mercurial by itself can't support the
>> recommended workflow, because any "collapsing" of commits requires
>> stripping,
>
> Not really. It requires that you either:
> - work on your long-term features in a separate repo (and produce a
>  diff at the end that you will apply to the main repo)
> - use mq
> - use a non-committing equivalent of mq (iterate on a patch which you
>  periodically save with "hg di", for example; that's what I do for
>  most patches)
>
> Apparently some of you think "collapsing" should involve some specific
> hg command. It doesn't. Perhaps the devguide should be rephrased there.

What you've written here would actually make a pretty good start on a
definition of what we mean by collapsing changesets.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Dev mailing list