diff hgext/evolve.py @ 745:99e51aff724b

add obsolete parents wrapper to the 'parents' command although the command itself cannot *cause* obsolete changesets, the information is rather relevant to the state of the parents
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Wed, 16 Oct 2013 18:28:52 +0200
parents af74a5cdf96b
children f728edc7fcd1
line wrap: on
line diff
--- a/hgext/evolve.py	Wed Oct 16 18:23:54 2013 +0200
+++ b/hgext/evolve.py	Wed Oct 16 18:28:52 2013 +0200
@@ -557,6 +557,7 @@
 # This section take care of issue warning to the user when troubles appear
 
 @eh.wrapcommand("update")
+@eh.wrapcommand("parents")
 @eh.wrapcommand("pull")
 def wrapmayobsoletewc(origfn, ui, repo, *args, **opts):
     """Warn that the working directory parent is an obsolete changeset"""