self.client_ctx.log_msg_func2 = svn.client.svn_swig_py_get_commit_log_func
self.client_ctx.log_msg_baton2 = self.log_message_func
- self._set_inventory(self.read_working_inventory())
+ self._set_inventory(self.read_working_inventory(), dirty=False)
mutter('working inv: %r' % self.read_working_inventory().entries())
self.base_revid = branch.repository.generate_revision_id(
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-from bzrlib.errors import NoSuchRevision, BzrNewError, NotBranchError
+from bzrlib.errors import NoSuchRevision, BzrError, NotBranchError
from bzrlib.progress import ProgressBar, DummyProgress
from bzrlib.trace import mutter
import svn.ra
from transport import SvnRaTransport
-class NotSvnBranchPath(BzrNewError):
- """{%(branch_path)s} is not a valid Svn branch path"""
+class NotSvnBranchPath(BzrError):
+ _fmt = """{%(branch_path)s} is not a valid Svn branch path"""
def __init__(self, branch_path):
- BzrNewError.__init__(self)
+ BzrError.__init__(self)
self.branch_path = branch_path