Modify ↓
Ticket #280 (closed defect: fixed)
problem with quotes in changelog comment entries (in bzr backend)
| Reported by: | arkadini@… | Owned by: | thomas |
|---|---|---|---|
| Priority: | major | Milestone: | 0.2.7 |
| Component: | moap | Version: | TRUNK |
| Keywords: | Cc: |
Description
... moap seems to think that things with slashes are dirs/files? :/
Attachments
Change History
comment:2 Changed 5 years ago by arkadini@…
- Summary changed from slash ("/") character can't be used in changelog comment entries to problem with quotes in changelog comment entries (in bzr backend)
Misdiagnosed.
The problem turned out to be specifically in the bzr backend commit() method (and a similar problem exists in git backend too). Literal passing of arbitrary strings to shell commands almost always requires some escaping - which in this case was missing.
Attaching a patch that makes bzr and git backends use a temporary file for passing commit messages instead of as a command line argument.
comment:3 Changed 5 years ago by arkadini@…
Note: the git bit of the patch is untested, but the bzr part works. If git behaves according to it's man page then it should work too.
Note: See
TracTickets for help on using
tickets.

