[PATCH 5 of 8] rebase: remove an unused todo

Laurent Charignon lcharignon at fb.com
Thu Nov 19 07:46:23 CST 2015


# HG changeset patch
# User Laurent Charignon <lcharignon at fb.com>
# Date 1447891560 28800
#      Wed Nov 18 16:06:00 2015 -0800
# Node ID 237b66d6e2aca1eff4ad1e58299cd4413ce157bb
# Parent  43f91d2273204ab34c2161c0417273c8421b9882
rebase: remove an unused todo

Since we handled skipping obsolete revs when it is relevant, this todo is no
longer useful. We replace the comment with two useful comments.

diff --git a/hgext/rebase.py b/hgext/rebase.py
--- a/hgext/rebase.py
+++ b/hgext/rebase.py
@@ -30,8 +30,9 @@
 revtodo = -1
 nullmerge = -2
 revignored = -3
-# To do with obsolescence
+# successor in rebase destination
 revprecursor = -4
+# plain prune (no successor)
 revpruned = -5
 
 cmdtable = {}


More information about the Mercurial-devel mailing list