Patchwork [5,of,8] rebase: remove an unused todo

login
register
mail settings
Submitter Laurent Charignon
Date Nov. 19, 2015, 1:46 p.m.
Message ID <237b66d6e2aca1eff4ad.1447940783@waste.org>
Download mbox | patch
Permalink /patch/11512/
State Accepted
Commit e97132eb841c0c735c1ffdb1f56a1bc29e223d4b
Headers show

Comments

Laurent Charignon - Nov. 19, 2015, 1:46 p.m.
# HG changeset patch
# User Laurent Charignon <lcharignon@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.

Patch

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 = {}