Commits

Dan Villiom Podlaski Christiansen committed fc15a4f

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

Comments (0)

Files changed (1)

 # 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"""