[bug #7223] add-id's detects of automatic changelog ids fails if the revision is not of the form 0.1
Olaf Meeuwissen <INVALID.NOREPLY-mXXj517/[email protected]>
| Newsgroups | gmane.comp.version-control.arch.bugs |
|---|---|
| Message-ID | <[email protected]> |
Follow-up Comment #2, bug #7223 (project gnu-arch):
I've had a bit of trouble getting this to work as well, but finally figured
out a way to get this to work. I'm using tla-1.3.3-2 on Debian GNU/Linux
(testing/unstable), in case that matters.
Here's the gist of what I did:
$ mkdir changelog--auto--0.0
$ cd changelog--auto--0.0
$ tla archive-setup `basename $PWD`
$ tla init-tree `basename $PWD`
$ sed -i 's,^explicit,tagline,' \{arch\}/\=tagging-method
$ tla changelog > ChangeLog
$ tla make-log
$ $EDITOR \+\+log*
$ tla import
After that the content of ++log* gets added to the ChangeLog file. I also
added a number of other source files with `tla add-id` befor the import. The
crux is that you should NOT `tla add-id ChangeLog` because that changes the ID
to use something that'll never match the arch_changelog_id_re #define quoted
in the original bug report.
I'd also like to point out that the first example in the original bug report
nicely illustrates this. The ID starts with
"x_Elmar_Hoffmann_<[email protected]>". This will of course NEVER match that
regexp in changelog.c, no matter what version number you use.
With regards to the followup by <tchernobog>, I'd hazard a guess that `tla
inventory --ids` shows an ID that fails the regexp on the first part as well.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=7223>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/