|
Re: [PATCH] svk commit -m 'bla bla' --template: msg#00003version-control.svk.devel
now attached with an extra test for an edge case. On 7/5/05, David Glasser <glasser@xxxxxxxxxxxxxxxxx> wrote: > This patch adds a "--template" option to all of the svk commands > which take -m/-F. When used, it tells svk that any -m or -F argument > should be interpreted as a template: that is, the editor is invoked, > but with whatever value is specified by -m/-F already filled in. (-- > template is ignored if neither -m nor -F is specified.) Note that > there's no sort of "substitution" in this template; perhaps there > should be. If so, perhaps clkao should decree "the future syntax for > templates might look like this" and we can document that if you use > such a syntax, it might mean something in the future. > > For proof that this is useful, attached is "rt-commit", a script > which you run like: > $ rt-commit TICKETNUMBER [ other args to commit ] > which runs "svk commit" with a tempate of > RT-Ticket: TICKETNUMBER > RT-Status: resolved > RT-Update: correspond > for those of us using RT with svn integration. (Allowing -m/-F with > rt-commit, alternate statuses, etc, is an exercise for the reader.) > > > > --dave > Code Monkey, Best Practical Solutions > -- > David Glasser | glasser@xxxxxxxxxxxxxxxxx > > > > > -- David Glasser | glasser@xxxxxxx | http://www.davidglasser.net/
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [PATCH] svk commit -m 'bla bla' --template: 00003, David Glasser |
|---|---|
| Next by Date: | Merge history graphing: 00003, Russ Brown |
| Previous by Thread: | [PATCH] svk commit -m 'bla bla' --templatei: 00003, David Glasser |
| Next by Thread: | Merge history graphing: 00003, Russ Brown |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |