mercurial/debugcommands.py
changeset 45865 d7a508a75d72
parent 45819 d6279c43fc60
child 45874 1a72e4839795
equal deleted inserted replaced
45864:11842aad3195 45865:d7a508a75d72
    76     setdiscovery,
    76     setdiscovery,
    77     simplemerge,
    77     simplemerge,
    78     sshpeer,
    78     sshpeer,
    79     sslutil,
    79     sslutil,
    80     streamclone,
    80     streamclone,
       
    81     strip,
    81     tags as tagsmod,
    82     tags as tagsmod,
    82     templater,
    83     templater,
    83     treediscovery,
    84     treediscovery,
    84     upgrade,
    85     upgrade,
    85     url as urlmod,
    86     url as urlmod,
   103     sidedata,
   104     sidedata,
   104 )
   105 )
   105 
   106 
   106 release = lockmod.release
   107 release = lockmod.release
   107 
   108 
   108 command = registrar.command()
   109 table = {}
       
   110 table.update(strip.command._table)
       
   111 command = registrar.command(table)
   109 
   112 
   110 
   113 
   111 @command(b'debugancestor', [], _(b'[INDEX] REV1 REV2'), optionalrepo=True)
   114 @command(b'debugancestor', [], _(b'[INDEX] REV1 REV2'), optionalrepo=True)
   112 def debugancestor(ui, repo, *args):
   115 def debugancestor(ui, repo, *args):
   113     """find the ancestor revision of two revisions in a given index"""
   116     """find the ancestor revision of two revisions in a given index"""