equal
deleted
inserted
replaced
1693 def stack(repo, subset, x): |
1693 def stack(repo, subset, x): |
1694 """Experimental revset for the stack of changesets or working directory |
1694 """Experimental revset for the stack of changesets or working directory |
1695 parent. (EXPERIMENTAL) |
1695 parent. (EXPERIMENTAL) |
1696 """ |
1696 """ |
1697 if x is None: |
1697 if x is None: |
1698 stacks = stackmod.getstack(repo, x) |
1698 stacks = stackmod.getstack(repo) |
1699 else: |
1699 else: |
1700 stacks = smartset.baseset([]) |
1700 stacks = smartset.baseset([]) |
1701 for revision in getset(repo, fullreposet(repo), x): |
1701 for revision in getset(repo, fullreposet(repo), x): |
1702 currentstack = stackmod.getstack(repo, revision) |
1702 currentstack = stackmod.getstack(repo, revision) |
1703 stacks = stacks + currentstack |
1703 stacks = stacks + currentstack |