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.
This commit is contained in:
Brett Cannon 2009-02-24 02:11:07 +00:00
parent a48c75eafd
commit 192aa46131
1 changed files with 2 additions and 4 deletions

View File

@ -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