Source

repoman / tests / output / pullallbranches.py

Full commit
import os

from tests.pytest import run, Quiet

with Quiet() as _:
    run('clone ../forest1 -M * -b * -d pullallbranchestest')

try:
    os.chdir('pullallbranchestest')

    run('up core/stable')

    os.system('hg -R a strip 0 --nobackup')
    run('pull -b *')
    os.system('hg -R a glog --template "{node|short} {branches} {desc|firstline}\\n"')

finally:
    os.chdir('..')