~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/devscripts/sourcecode.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-08-03 11:23:34 UTC
  • mfrom: (13457.6.16 upgrade-stderr)
  • Revision ID: launchpad@pqm.canonical.com-20110803112334-acnupsa7jmzmdeet
[r=stevenk][bug=819751] Fix the implementation of several methods in
 LoggingUIFactory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
import shutil
18
18
import sys
19
19
 
20
 
from bzrlib import ui
21
20
from bzrlib.branch import Branch
22
 
from bzrlib.errors import (
23
 
    BzrError,
24
 
    IncompatibleRepositories,
25
 
    NotBranchError,
26
 
    )
 
21
from bzrlib.errors import BzrError, NotBranchError, IncompatibleRepositories
27
22
from bzrlib.plugin import load_plugins
28
23
from bzrlib.revisionspec import RevisionSpec
29
 
from bzrlib.trace import (
30
 
    enable_default_logging,
31
 
    report_exception,
32
 
    )
 
24
from bzrlib.trace import enable_default_logging, report_exception
 
25
from bzrlib import ui
33
26
from bzrlib.upgrade import upgrade
34
27
from bzrlib.workingtree import WorkingTree
35
28
 
231
224
    if cache == old_cache:
232
225
        return
233
226
    with open(cache_filename, 'wb') as cache_file:
234
 
        json.dump(cache, cache_file, indent=4, sort_keys=True)
 
227
        json.dump(cache, cache_file, indent=4)
235
228
    if not quiet:
236
229
        print 'Cache updated.  Please commit "%s".' % cache_filename
237
230