~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to mirror.py

  • Committer: Aaron Bentley
  • Date: 2009-07-10 04:05:24 UTC
  • Revision ID: aaron@aaronbentley.com-20090710040524-slufgm4he3fx1r4f
Mirror the child_submit_to setting.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
    if source_branch.get_config().has_explicit_nickname():
11
11
        mirror.nick = source_branch.nick
12
12
    mirror.set_submit_branch(source_branch.get_submit_branch())
 
13
    source_config = source_branch.get_config()
 
14
    child_submit_to = source_config.get_user_option('child_submit_to')
 
15
    if child_submit_to is not None:
 
16
        mirror.get_config().set_user_option('child_submit_to', child_submit_to)
13
17
    return mirror