Ticket #67 (closed enhancement: fixed)
Attempt to create an existing module should have better error message
| Reported by: | blee | Owned by: | blee |
|---|---|---|---|
| Priority: | trivial | Milestone: | confman-1.9.3 |
| Component: | confman | Version: | 1.9.2b |
| Keywords: | Cc: |
Description
blee@util8.sjc1 ~/src/conf $ confman create kern1.lab2 confman[53587]: blee: svn: Try 'svn add' or 'svn add --non-recursive' instead? confman[53587]: blee: svn: Can't create directory '/home/blee/src/conf/kern1.lab2': File exists confman[53587]: blee: svn: Try 'svn add' or 'svn add --non-recursive' instead? confman[53587]: blee: svn: Can't create directory '/home/blee/src/conf/checkpoints/kern1.lab2': File exists
There should be a confman error message, like "module already exists", rather than an svn error message.
Change History
comment:3 Changed 2 years ago by blee
Now with an error message and appropriate exit status:
blee@supra.b1c1l1 ~/src/conf $ confman create gentoo confman[5605]: blee: Module already exists: gentoo blee@supra.b1c1l1 ~/src/conf $ echo $? 1
comment:5 Changed 2 years ago by blee
- Status changed from closed to reopened
- Resolution fixed deleted
Note: See
TracTickets for help on using
tickets.

(In [430]) Improve error handling for conf_create_module.
See #67