At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 3835
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Canonical.com Patch Queue Manager <[EMAIL PROTECTED]>
branch nick: +trunk
timestamp: Thu 2008-11-13 07:50:04 +0000
message:
  Document suppress_errors flag in abort_write_group docstring.
        (trivial)
modified:
  bzrlib/remote.py               remote.py-20060720103555-yeeg2x51vn0rbtdp-1
  bzrlib/repository.py           rev_storage.py-20051111201905-119e9401e46257e3
    ------------------------------------------------------------
    revno: 3825.4.6
    revision-id: [EMAIL PROTECTED]
    parent: [EMAIL PROTECTED]
    committer: Andrew Bennetts <[EMAIL PROTECTED]>
    branch nick: abort_write_group-error
    timestamp: Thu 2008-11-13 17:11:38 +1000
    message:
      Document the suppress_errors flag in the docstring.
    modified:
      bzrlib/remote.py               remote.py-20060720103555-yeeg2x51vn0rbtdp-1
      bzrlib/repository.py           
rev_storage.py-20051111201905-119e9401e46257e3
=== modified file 'bzrlib/remote.py'
--- a/bzrlib/remote.py  2008-11-12 07:33:22 +0000
+++ b/bzrlib/remote.py  2008-11-13 07:50:04 +0000
@@ -347,6 +347,8 @@
         is not really applicable except as a compatibility thunk
         for older plugins that don't use e.g. the CommitBuilder
         facility.
+
+        :param suppress_errors: see Repository.abort_write_group.
         """
         self._ensure_real()
         return self._real_repository.abort_write_group(

=== modified file 'bzrlib/repository.py'
--- a/bzrlib/repository.py      2008-11-12 02:29:03 +0000
+++ b/bzrlib/repository.py      2008-11-13 07:11:38 +0000
@@ -517,6 +517,10 @@
     def abort_write_group(self, suppress_errors=False):
         """Commit the contents accrued within the current write group.
 
+        :param suppress_errors: if true, abort_write_group will catch and log
+            unexpected errors that happen during the abort, rather than
+            allowing them to propagate.  Defaults to False.
+
         :seealso: start_write_group.
         """
         if self._write_group is not self.get_transaction():


-- 
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits

Reply via email to