~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to serve-branches

  • Committer: Matt Nordhoff
  • Date: 2009-05-18 05:08:58 UTC
  • mfrom: (346.2.2 serve-directory)
  • Revision ID: mnordhoff@mattnordhoff.com-20090518050858-3agh0ay1v2743m4t
Support "bzr serve"'s --directory argument.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
 
52
52
    load_plugins()
53
53
 
54
 
    if config.get_option('allow_writes'):
55
 
        transport = get_transport(path)
56
 
    else:
57
 
        transport = get_transport('readonly+' + path)
 
54
    transport = get_transport(path)
58
55
 
59
56
    if config.get_option('trunk_dir') and not config.get_option('user_dirs'):
60
57
        print "--trunk-dir is only valid with --user-dirs"