[Python-Dev] [Python-checkins] cpython (2.7): Issue #XXXXX: Fix test_idle so that idlelib test cases are actually run
ncoghlan at gmail.com
Mon Nov 4 23:15:34 CET 2013
On 5 Nov 2013 02:03, "Guido van Rossum" <guido at python.org> wrote:
> Two more approaches that can help when you haven't pushed yet:
> - hg rollback undoes the most recent local commit while leaving the local
workspace unchanged so the files are now patched but not committed
> - hg strip <rev> deletes a revision and all its descendents (requires
some extension to be configured); it also rolls back your workspace so
you'd have to repatch using hg import --no-commit.
A couple more tips:
- I actually have "--no-commit" configured as a standard option for hg
import in my .hgrc file so I never forget
- "hg pull --rebase" avoids having a merge in the history for push races
that involve only default branch changes
- hg histedit is a quite useful extension for adjusting commit history
prior to publication.
(most of the history editing mercurial features require enabling the
appropriate extensions, but it's well worth taking the time to do so - git
users in particular may find that appropriate use of extensions enables a
more familiar local user experience)
> (BTW everybody here knows you can give hg import a URL straight from
Rietveld's "raw diff download" right?)
> On Mon, Nov 4, 2013 at 1:04 AM, Oleg Broytman <phd at phdru.name> wrote:
>> On Mon, Nov 04, 2013 at 03:56:25AM -0500, Terry Reedy <tjreedy at udel.edu>
>> > The one
>> > thing I tried but could not do was to directly change status 'A'
>> > back to '?'.
>> hg forget file
>> Oleg Broytman http://phdru.name/
phd at phdru.name
>> Programmers don't die, they just GOSUB without RETURN.
>> Python-Dev mailing list
>> Python-Dev at python.org
> --Guido van Rossum (python.org/~guido)
> Python-Dev mailing list
> Python-Dev at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev