diff options
author | W. Trevor King <wking@drexel.edu> | 2009-11-20 14:29:01 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-11-20 14:29:01 -0500 |
commit | b35dfdf10b2f58a0632d0a0542bd8232a39b0391 (patch) | |
tree | 3e331c64841832a0c15683890aee46a58581def4 /libbe/bugdir.py | |
parent | 19b3a1d77946b4bbec0788d1ac3270c5cddbd54a (diff) | |
download | bugseverywhere-b35dfdf10b2f58a0632d0a0542bd8232a39b0391.tar.gz |
Adjusted test.py to use an installed vcs by default.
Protects agaist the off chance that the user doesn't have Arch (tla)
installed ;).
Changed Arch.name from "Arch" to "arch" so that each VCSs .name
matches the module name. This allows us to use vcs.VCS_ORDER (a list
of module names) to set up the allowed values of BugDir.vcs_name.
Diffstat (limited to 'libbe/bugdir.py')
-rw-r--r-- | libbe/bugdir.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/bugdir.py b/libbe/bugdir.py index 5b942d3..675b744 100644 --- a/libbe/bugdir.py +++ b/libbe/bugdir.py @@ -213,7 +213,7 @@ that the Arch VCS backend *enforces* ids with this format.""", settings easy. Don't set this attribute. Set .vcs instead, and .vcs_name will be automatically adjusted.""", default="None", - allowed=["None", "Arch", "bzr", "darcs", "git", "hg"]) + allowed=["None"]+vcs.VCS_ORDER) def vcs_name(): return {} def _get_vcs(self, vcs_name=None): |