Modify ↓
Opened 16 years ago
Closed 16 years ago
#574 closed defect (fixed)
verbose flag in svntools should be converted to boolean
| Reported by: | Neil Muller | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.6 |
| Component: | Recipe commands | Version: | 0.6b2 |
| Keywords: | Cc: | ||
| Operating System: | BSD |
Description
The verbose flag to the svn: commands is passed in as a string, but treated as a boolean when testing. This leads to the following recipes behaving identically:
<svn:checkout url="file:///home/neil/tmp/CTPUG/bitten-sprint/trac/test-svn"
path="${path}" revision="${revision}" verbose="false" />
and
<svn:checkout url="file:///home/neil/tmp/CTPUG/bitten-sprint/trac/test-svn"
path="${path}" revision="${revision}" verbose="true" />
and differing from the recipe excluding the verbose flag.
This is somewhat unexpected.
Attachments (1)
Change History (3)
Changed 16 years ago by Neil Muller
comment:1 Changed 16 years ago by Neil Muller
Simple patch to make verbose="False" work. This still accepts verbose="foo" as true, which should perhaps be flagged as an error.
comment:2 Changed 16 years ago by hodgestar
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

simple patch to verbose handling