Rev 15: Remove trailing whitespace in http://bazaar.launchpad.net/%7Ebzr/bzr-vimdiff/vimdiff
John Arbash Meinel
john at arbash-meinel.com
Fri Mar 2 00:35:55 GMT 2007
At http://bazaar.launchpad.net/%7Ebzr/bzr-vimdiff/vimdiff
------------------------------------------------------------
revno: 15
revision-id: john at arbash-meinel.com-20070302003544-zq4q5v30kk215rsz
parent: john at arbash-meinel.com-20060314044407-276c8c80b24696f9
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: vimdiff
timestamp: Thu 2007-03-01 18:35:44 -0600
message:
Remove trailing whitespace
modified:
__init__.py __init__.py-20051124001049-15a328174b534d0a
-------------- next part --------------
=== modified file '__init__.py'
--- a/__init__.py 2006-03-14 04:44:07 +0000
+++ b/__init__.py 2007-03-02 00:35:44 +0000
@@ -9,7 +9,7 @@
import os
-horizontal = Option('horizontal',
+horizontal = Option('horizontal',
help='Split the display horizontally, not vertically')
def orient(horizontal):
if horizontal is True:
@@ -20,7 +20,7 @@
class cmd_vimdiff(Command):
"""Show changes to a file in vimdiff
-
+
At present this is restricted to showing only the changes to the
last-committed revision, and only for a single file.
@@ -33,13 +33,13 @@
takes_options = ['revision', horizontal]
def run(self, file_to_diff_list, revision=None, horizontal=False):
for file_to_diff in file_to_diff_list:
- vimdiff_to_file(['vim', '-d', orient(horizontal), '-f'], file_to_diff,
+ vimdiff_to_file(['vim', '-d', orient(horizontal), '-f'], file_to_diff,
revision=revision)
class cmd_gvimdiff(Command):
"""Show changes to a file in gvimdiff
-
+
At present this is restricted to showing only the changes to the
last-committed revision, and only for a single file.
@@ -52,7 +52,7 @@
takes_options = ['revision', horizontal]
def run(self, file_to_diff_list, revision=None, horizontal=False):
for file_to_diff in file_to_diff_list:
- vimdiff_to_file(['gvim', '-d', orient(horizontal), '-f'], file_to_diff,
+ vimdiff_to_file(['gvim', '-d', orient(horizontal), '-f'], file_to_diff,
revision=revision)
More information about the bazaar-commits
mailing list