Rev 47: Cleanup trailing whitespace in http://bzr.arbash-meinel.com/plugins/cvsps_import_trunk
John Arbash Meinel
john at arbash-meinel.com
Thu Feb 1 23:01:41 GMT 2007
At http://bzr.arbash-meinel.com/plugins/cvsps_import_trunk
------------------------------------------------------------
revno: 47
revision-id: john at arbash-meinel.com-20070201230133-trt6hpkupwbbxo98
parent: john at arbash-meinel.com-20070119180529-f64a7i55z0cqk6m5
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: cvsps_import_trunk
timestamp: Thu 2007-02-01 17:01:33 -0600
message:
Cleanup trailing whitespace
modified:
cvsps/importer.py cvs_importer.py-20061118210213-54x3l7uikr07xx0o-2
-------------- next part --------------
=== modified file 'cvsps/importer.py'
--- a/cvsps/importer.py 2007-01-19 18:05:29 +0000
+++ b/cvsps/importer.py 2007-02-01 23:01:33 +0000
@@ -63,7 +63,7 @@
def _read_header(self, fp):
"""Read the header information from the file.
-
+
This will raise exceptions if any of the header info is not correct.
"""
first = fp.readline()
@@ -373,7 +373,7 @@
import pdb; pdb.set_trace()
builder.record_entry_contents(new_ie, parent_invs, path, self)
-
+
builder.finish_inventory()
message = self._escape_commit_message(message)
new_revision_id = builder.commit(message)
@@ -419,7 +419,7 @@
:param revision: The CVS revision id (like 1.1.1.1)
:return: (created, removed) This lists the directories that were
created and removed in order to add the file or cleanup after it
- was deleted.
+ was deleted.
The last entry in created or removed should be the filename itself.
This file may have only been updated rather than actually added.
@@ -705,7 +705,7 @@
# XXX: Ugly hack to make sure there is only one repository instance
self._assert_same_repo(self._bzr_repo, a_branch.repository)
a_branch.repository = self._bzr_repo
-
+
def _open_branch(self, branch_path):
"""Open a specific branch, it must already exist.
@@ -779,7 +779,7 @@
' HEAD exists. Sprouting from current',
patchset)
source_branch = self._cur_bzr_branch
-
+
target_path = self._get_branch_path(patchset.branch)
# TODO: jam 20061121 We should catch an error if the target already
@@ -1077,7 +1077,7 @@
trace.warning('Failed while processing: %s', patchset)
raise
if pb is not None:
- pb.update('%-15.15s %s %-35.35s'
+ pb.update('%-15.15s %s %-35.35s'
% (cvs_to_bzr._cur_branch_name,
action, rev_id),
i, n_patchsets)
More information about the bazaar-commits
mailing list