[PATCH] Avoid bzr aliases and plugins
- From: Rainer Mueller <raimue codingfarm de>
- To: meld-list gnome org
- Subject: [PATCH] Avoid bzr aliases and plugins
- Date: Sun, 12 Jul 2009 19:05:22 +0200
The options --no-aliases and --no-plugins avoid problems when a user
defined custom aliases for commands or installed plugins changing the
output or behavior.
---
vc/bzr.py | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/vc/bzr.py b/vc/bzr.py
index ff6c8da..70abfed 100644
--- a/vc/bzr.py
+++ b/vc/bzr.py
@@ -43,19 +43,19 @@ class Vc(_vc.CachedVc):
}
def commit_command(self, message):
- return [self.CMD,"commit","-m",message]
+ return [self.CMD,"commit","--no-aliases","--no-plugins","-m",message]
def diff_command(self):
- return [self.CMD,"diff"]
+ return [self.CMD,"diff","--no-aliases","--no-plugins"]
def update_command(self):
- return [self.CMD,"pull"]
+ return [self.CMD,"pull","--no-aliases","--no-plugins"]
def add_command(self, binary=0):
- return [self.CMD,"add"]
+ return [self.CMD,"add","--no-aliases","--no-plugins"]
def remove_command(self, force=0):
- return [self.CMD,"rm"]
+ return [self.CMD,"rm","--no-aliases","--no-plugins"]
def revert_command(self):
- return [self.CMD,"revert"]
+ return [self.CMD,"revert","--no-aliases","--no-plugins"]
def resolved_command(self):
- return [self.CMD,"resolve"]
+ return [self.CMD,"resolve","--no-aliases","--no-plugins"]
def get_working_directory(self, workdir):
return self.root
--
1.6.3.3
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]