Source

repoman / tests / output / updatepartialbranch.py

Full commit
import sys
import shutil

from tests.pytest import run, Quiet

with Quiet():
    run('-q clone ../forest1 -M * -b core/stable -b core/dev -d forest2')
run('-q -R forest2 up core/stable')
run('-q -R forest2 branch --create core/new -M a -M b -M c --date "0 0"')

# Expect this to work (previously it threw a "KeyError: 'd'")
run('-R forest2 up core/new')

try:
    shutil.rmtree('forest2')
except:
    pass