|
Created on 2006-10-17.13:11:34 by kowey, last changed 2009-08-27.14:11:09 by admin.
msg1113 (view) |
Author: kowey |
Date: 2006-10-17.13:11:22 |
|
darcs record --logfile requires trailing newline in logfile
Import of RT #532
"Stephen J. Turnbull" <stephen@xemacs.org> 2005-10-01
-----------------------------------------------------
Subject: darcs record --logfile requires trailing newline in logfile
If there isn't one, the separator text ends up appended to the
incomplete last line, and darcs doesn't recognize the separator. So the
whole file (including the file list and so on) gets used as the changelog.
Emacs will very easily produce such a file, as will scripts using
printf-like functions to append to the file.
|
msg1114 (view) |
Author: kowey |
Date: 2006-10-17.13:18:19 |
|
In darcs 1.0.8:
$ darcs init
$ touch a
$ darcs add a
$ echo -n hello > world
$ darcs record -a --logfile world
Finished recording patch 'hello***END OF DESCRIPTION***'
It seems fair to require that darcs insert a newline to the end of a logfile
description if there isn't one... is it?
Note also that a related thing happens in regular record, where darcs does not
recognise strings like 'foo ***END OF DESCRIPTION***', but this is arguably less
of a problem or even a non-problem.
|
|
Date |
User |
Action |
Args |
2006-10-17 13:11:34 | kowey | create | |
2006-10-17 13:18:26 | kowey | set | status: unread -> unknown nosy:
droundy, tommy, kowey messages:
+ msg1114 |
2006-10-17 13:20:18 | kowey | set | topic:
+ ProbablyEasy nosy:
droundy, tommy, kowey |
2007-07-23 14:10:28 | kowey | set | topic:
- FromRequestTracker nosy:
+ beschmi |
2007-07-23 14:10:39 | kowey | set | status: unknown -> has-patch |
2007-07-31 17:56:31 | kowey | set | status: has-patch -> resolved-in-stable |
2008-09-16 21:30:30 | admin | set | status: resolved-in-stable -> resolved nosy:
+ dagit |
2009-08-06 17:41:20 | admin | set | nosy:
+ markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy |
2009-08-06 20:38:29 | admin | set | nosy:
- beschmi |
2009-08-10 21:57:30 | admin | set | nosy:
- markstos, darcs-devel, zooko, jast, Serware, mornfall |
2009-08-10 23:57:10 | admin | set | nosy:
- dagit |
2009-08-25 17:54:55 | admin | set | nosy:
+ darcs-devel, - simon |
2009-08-27 14:11:09 | admin | set | nosy:
tommy, kowey, darcs-devel, thorkilnaur, dmitry.kurochkin |
|