~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/push.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-02-08 12:06:24 UTC
  • mfrom: (5015.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20100208120624-zqc1nk5x9hltgmiu
(vila)(trivial) Simplify some tests in
        per_workingtree/test_smart_add.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2008, 2009, 2010 Canonical Ltd
 
1
# Copyright (C) 2008 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
110
110
                    "\nYou may supply --create-prefix to create all"
111
111
                    " leading parent directories."
112
112
                    % location)
113
 
            # This shouldn't occur (because create_prefix is true, so
114
 
            # create_clone_on_transport should be catching NoSuchFile and
115
 
            # creating the missing directories) but if it does the original
116
 
            # NoSuchFile error will be more informative than an
117
 
            # UnboundLocalError for br_to.
118
 
            raise
119
113
        except errors.TooManyRedirections:
120
114
            raise errors.BzrCommandError("Too many redirections trying "
121
115
                                         "to make %s." % location)