aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/bzr.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-10-06 06:37:21 -0400
committerW. Trevor King <wking@drexel.edu>2009-10-06 06:37:21 -0400
commit5323cc1ba94095938c54a2853a3827c14b420e66 (patch)
treed742c177113374ae90a3ba334c362c038794c08a /libbe/bzr.py
parentaa7546258e3f24bec3df2d8c4b203ed08e0acbce (diff)
downloadbugseverywhere-5323cc1ba94095938c54a2853a3827c14b420e66.tar.gz
Moved VCS detection from _vcs_help() to _vcs_version().
The version string is useful information to have around, while the help string is probably not. For example, we use it in darcs.Darcs._vcs_get_file_contents() to construct an incantation appropriate to the version we're dealing with.
Diffstat (limited to 'libbe/bzr.py')
-rw-r--r--libbe/bzr.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbe/bzr.py b/libbe/bzr.py
index e9e0649..ed9e032 100644
--- a/libbe/bzr.py
+++ b/libbe/bzr.py
@@ -37,8 +37,8 @@ class Bzr(vcs.VCS):
name = "bzr"
client = "bzr"
versioned = True
- def _vcs_help(self):
- status,output,error = self._u_invoke_client("--help")
+ def _vcs_version(self):
+ status,output,error = self._u_invoke_client("--version")
return output
def _vcs_detect(self, path):
if self._u_search_parent_directories(path, ".bzr") != None :