Patchwork [7,of,7,evolve-ext] check-code: make drophack comply with check-code

login
register
mail settings
Submitter Laurent Charignon
Date Dec. 4, 2015, 11:37 p.m.
Message ID <7fbb7d436492f6310550.1449272237@lcharignon-mbp>
Download mbox | patch
Permalink /patch/11838/
State Accepted
Headers show

Comments

Laurent Charignon - Dec. 4, 2015, 11:37 p.m.
# HG changeset patch
# User Laurent Charignon <lcharignon@fb.com>
# Date 1449271709 28800
#      Fri Dec 04 15:28:29 2015 -0800
# Node ID 7fbb7d436492f6310550b2096259a92e9c97fae9
# Parent  7ef230ac965d86cdcbffecdb3623fcfbfaf1d953
check-code: make drophack comply with check-code
Pierre-Yves David - Dec. 5, 2015, 2:47 a.m.
On 12/04/2015 03:37 PM, Laurent Charignon wrote:
> # HG changeset patch
> # User Laurent Charignon <lcharignon@fb.com>
> # Date 1449271709 28800
> #      Fri Dec 04 15:28:29 2015 -0800
> # Node ID 7fbb7d436492f6310550b2096259a92e9c97fae9
> # Parent  7ef230ac965d86cdcbffecdb3623fcfbfaf1d953
> check-code: make drophack comply with check-code

Pushed this to main, many thanks

This would neat to have an easy way to extension to run that. coping the 
check-code.t file around would probably be enough.

Patch

diff --git a/hgext/drophack.py b/hgext/drophack.py
--- a/hgext/drophack.py
+++ b/hgext/drophack.py
@@ -150,7 +150,8 @@ 
                 stripmarker(ui, repo, markers)
         # strip the changeset
         with timed(ui, 'strip nodes'):
-            repair.strip(ui, repo, list(allnodes), backup="all", topic='drophack')
+            repair.strip(ui, repo, list(allnodes), backup="all",
+                         topic='drophack')
 
     finally:
         lockmod.release(lock, wlock)