hgext3rd/topic/revset.py
changeset 2681 aa4db71a6224
parent 2669 b933a8068c17
child 2682 a6e3c2fcb1d7
equal deleted inserted replaced
2680:d5eb5269128a 2681:aa4db71a6224
    69     All relevant changes in the current topic,
    69     All relevant changes in the current topic,
    70 
    70 
    71     This is roughly equivalent to 'topic(.) - obsolete' with a sorting moving
    71     This is roughly equivalent to 'topic(.) - obsolete' with a sorting moving
    72     unstable changeset after there future parent (as if evolve where already
    72     unstable changeset after there future parent (as if evolve where already
    73     run)."""
    73     run)."""
       
    74     err = 'stack() takes no argument, it works on current topic'
       
    75     revset.getargs(x, 0, 0, err)
    74     topic = repo.currenttopic
    76     topic = repo.currenttopic
    75     if not topic:
    77     if not topic:
    76         raise error.Abort(_('no active topic to list'))
    78         raise error.Abort(_('no active topic to list'))
    77     # ordering hack, boo
    79     # ordering hack, boo
    78     topic = None
    80     topic = None