summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool/BitKeeper.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-03-22 23:49:41 (GMT)
committerSteven Knight <knight@baldmt.com>2003-03-22 23:49:41 (GMT)
commit904be3fe063b4ad64bccd63909ecc3dbffc549d7 (patch)
treed0d1706e890a9f605caa088621956ef637939453 /src/engine/SCons/Tool/BitKeeper.py
parentbf40333ce747dbb66388dc9cb40e5ce741cb0055 (diff)
downloadSCons-904be3fe063b4ad64bccd63909ecc3dbffc549d7.zip
SCons-904be3fe063b4ad64bccd63909ecc3dbffc549d7.tar.gz
SCons-904be3fe063b4ad64bccd63909ecc3dbffc549d7.tar.bz2
Check out files from various source code systems properly.
Diffstat (limited to 'src/engine/SCons/Tool/BitKeeper.py')
-rw-r--r--src/engine/SCons/Tool/BitKeeper.py17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/engine/SCons/Tool/BitKeeper.py b/src/engine/SCons/Tool/BitKeeper.py
index 94e084f..6d81eb0 100644
--- a/src/engine/SCons/Tool/BitKeeper.py
+++ b/src/engine/SCons/Tool/BitKeeper.py
@@ -42,21 +42,16 @@ def generate(env, platform):
"""Add a Builder factory function and construction variables for
BitKeeper to an Environment."""
- def BitKeeperFactory(repos, module='', env=env):
+ def BitKeeperFactory(env=env):
""" """
- # fail if repos is not an absolute path name?
- if module != '':
- module = os.path.join(module, '')
- return SCons.Builder.Builder(action = "$BITKEEPERCOM",
- env = env,
- overrides = {'BKREPOSITORY':repos,
- 'BKMODULE':module})
+ return SCons.Builder.Builder(action = "$BITKEEPERCOM", env = env)
setattr(env, 'BitKeeper', BitKeeperFactory)
- env['BITKEEPER'] = 'bk'
- env['BITKEEPERFLAGS'] = ''
- env['BITKEEPERCOM'] = '$BITKEEPER get $BITKEEPERFLAGS -p $BKREPOSITORY/$BKMODULE$TARGET > $TARGET'
+ env['BITKEEPER'] = 'bk'
+ env['BITKEEPERGET'] = '$BITKEEPER get'
+ env['BITKEEPERGETFLAGS'] = ''
+ env['BITKEEPERCOM'] = '$BITKEEPERGET $BITKEEPERGETFLAGS $TARGET'
def exists(env):
return env.Detect('bk')