[PATCH 2 of 2 STABLE] histedit: add description about exit code

FUJIWARA Katsunori foozy at lares.dti.ne.jp
Sat Oct 26 10:41:49 CDT 2013


# HG changeset patch
# User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
# Date 1382801065 -32400
#      Sun Oct 27 00:24:25 2013 +0900
# Branch stable
# Node ID 0a8a6a4184b6f88d6bbeb0ade59bc531b6ea6077
# Parent  ce74c20e699eaeeb2e0bf0767dd5a1f8d9e8326a
histedit: add description about exit code

diff --git a/hgext/histedit.py b/hgext/histedit.py
--- a/hgext/histedit.py
+++ b/hgext/histedit.py
@@ -471,6 +471,10 @@
     instead of --outgoing to specify edit target revision exactly in
     such ambiguous situation. See :hg:`help revsets` for detail about
     selecting revisions.
+
+    Returns 0 on success, 1 if user intervention is required (not only
+    for intentional "edit" command, but also for resolving unexpected
+    conflicts).
     """
     # TODO only abort if we try and histedit mq patches, not just
     # blanket if mq patches are applied somewhere


More information about the Mercurial-devel mailing list