mercurial/commands.py
branchstable
changeset 18657 d4a79e075303
parent 18479 0efd5686f80c
child 18658 5e63a85299ba
child 18701 61c8327ced50
equal deleted inserted replaced
18617:227479f61db9 18657:d4a79e075303
  2104 @command('debugobsolete',
  2104 @command('debugobsolete',
  2105         [('', 'flags', 0, _('markers flag')),
  2105         [('', 'flags', 0, _('markers flag')),
  2106         ] + commitopts2,
  2106         ] + commitopts2,
  2107          _('[OBSOLETED [REPLACEMENT] [REPL... ]'))
  2107          _('[OBSOLETED [REPLACEMENT] [REPL... ]'))
  2108 def debugobsolete(ui, repo, precursor=None, *successors, **opts):
  2108 def debugobsolete(ui, repo, precursor=None, *successors, **opts):
  2109     """create arbitrary obsolete marker"""
  2109     """create arbitrary obsolete marker
       
  2110 
       
  2111     With no arguments it it display the list obsolescence marker."""
  2110     def parsenodeid(s):
  2112     def parsenodeid(s):
  2111         try:
  2113         try:
  2112             # We do not use revsingle/revrange functions here to accept
  2114             # We do not use revsingle/revrange functions here to accept
  2113             # arbitrary node identifiers, possibly not present in the
  2115             # arbitrary node identifiers, possibly not present in the
  2114             # local repository.
  2116             # local repository.