From 192aa461313adab77a6aa8ea6b0742de1caf71bf Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Tue, 24 Feb 2009 02:11:07 +0000 Subject: [PATCH] Update one-off scenario for hg. Turns out that 'hg export' doesn't exactly work if you have multiple commits. Better to use 'hg outgoing -p' to catch everything that differs from the remote repository. --- pep-0374.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pep-0374.txt b/pep-0374.txt index 869361644..cb2b7431b 100644 --- a/pep-0374.txt +++ b/pep-0374.txt @@ -477,14 +477,12 @@ hg cd trunk # Edit some code. hg commit -m "Stuff I did" - # Create a patch containing the last commit. Use hg export REV: to - # export all changes from revision REV (inclusive). - hg export tip >> stuff-i-did.patch + hg outgoing -p > fixes.patch # Upload patch to bugs.python.org # Receive reviewer comments # Edit some code hg commit -m "Address reviewer comments." - hg export tip >> additional-fixes.patch + hg outgoing -p > additional-fixes.patch # Upload patch to bugs.python.org