Changeset 1574 in tailor for vcpx/repository/darcs/__init__.py
- Timestamp:
- 05/29/08 23:49:34 (5 years ago)
- Hash name:
- 20080529214934-97f81-be3fac52c7a5b07e0c6ff85d25e14f17b71b1845
- File:
-
- 1 edited
-
vcpx/repository/darcs/__init__.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vcpx/repository/darcs/__init__.py
r1558 r1574 15 15 16 16 from vcpx.repository import Repository 17 from vcpx.shwrap import ExternalCommand 17 from vcpx.shwrap import ExternalCommand, PIPE 18 18 from vcpx.target import TargetInitializationFailure 19 19 … … 26 26 cget = project.config.get 27 27 self.EXECUTABLE = cget(self.name, 'darcs-command', 'darcs') 28 cmd = self.command('--version') 29 version = ExternalCommand(command=cmd) 30 self.darcs_version = version.execute(stdout=PIPE)[0].read().strip() 31 self.log.debug('Using %s, version %s', self.EXECUTABLE, self.darcs_version) 28 32 init_options = cget(self.name, 'init-options', '') 29 33 if init_options:
Note: See TracChangeset
for help on using the changeset viewer.
