[darcs-users] Re: Frustrations diffing against the last change to a file
Lele Gaifax
lele at nautilus.homeip.net
Fri Apr 1 22:57:03 UTC 2005
>>>>> "Thomas" == Thomas Zander <zander at kde.org> writes:
Thomas> But if you insist on per file stuff; you can check one
Thomas> section of your project by picking a directory or a file
Thomas> and running:
Thomas> darcs changes Makefile
Thomas> followed by:
Thomas> darcs diff -u -p 'the description copy-pasted from the
Thomas> changes ouput'
I think your typo demonstrate the problem: there is no way, other than
cut'n'paste, to easily write the latter command. And note, your
example shows a lucky situation, where either there's a particular
typo :) (more in general, a reasonable short regexp that exactly
matches the change you want), or patch names less cryptic than "fix",
or "updated" (that, by some law, are the best candidates for a deeper
inspection :)
Wouldn't be easier and enough to think that 'revision number' more
simply as the cardinality printed by changes? As other pointed out,
even if it's not a world-wide unique id, it's just a convenient,
local, more or less persistent in the long term, integer changeset
number, that coupled with a --number option here and there, and maybe
from/to-number, could be very effective.
ciao, lele.
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
email: lele at seldati.it | -- Fortunato Depero, 1929.
More information about the darcs-users
mailing list