[cvsnt] Bug id format?
arthur.barrett at march-hare.com
Wed Jan 7 01:54:55 GMT 2009
> is the bug id a string or a number?
As Tony indicated it is stored in the RCS file as an ID, so it could be
anything. However at various points in the code it is treated as an
integer - so best to stick to numbers only. The 'message to bugid'
stuff in the current commercial release that should be in the next CVSNT
release also treats it as an integer (I think some of the patches I
submitted to TortoiseCVS may also treat it as an integer).
It would have been 'better' to treat it as a string all along, and the
RCS format gives us that option in future - it's particularly tricky to
integrate to bug systems like JIRA that use a 'prefix' on the bug number
- however it does have it's advantages too (even in Jira it really is a
bug number with a project prefix and treating the bug number as a bug
number means it can be used cross project).
More information about the cvsnt