aboutsummaryrefslogtreecommitdiffstats
path: root/libbe
diff options
context:
space:
mode:
Diffstat (limited to 'libbe')
-rw-r--r--libbe/arch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/arch.py b/libbe/arch.py
index 1173535..b6d01e1 100644
--- a/libbe/arch.py
+++ b/libbe/arch.py
@@ -29,7 +29,6 @@ from rcs import RCS, RCStestCase, CommandError
client = config.get_val("arch_client")
if client is None:
client = "tla"
- config.set_val("arch_client", client)
def new():
return Arch()
@@ -50,6 +49,7 @@ class Arch(RCS):
def _rcs_detect(self, path):
"""Detect whether a directory is revision-controlled using Arch"""
if self._u_search_parent_directories(path, "{arch}") != None :
+ config.set_val("arch_client", client)
return True
return False
def _rcs_init(self, path):