[darcs-users] Reverting or Ignoring trivial changes

Angel Faus afaus at corp.vlex.com
Fri Feb 3 23:09:25 UTC 2006


Hi,

I am trying to understand what's the best way to handle this (pretty silly)
situation: a developer gets a copy of a darcs repository, opens some files,
makes whatever changes he has to make, and then tries to record and push the
changes to the "master" repository.

The problem arises when a dumb or badly configured text editor has decided
to:

 * replace spaces to tabs
 * add/remove spaces at the end of the line
 * etc..

Is there any way to do a "darcs record" but ignoring trivial (ie.
white-space related) changes? Or, alternatively, is there any way to do a
"darcs revert -stupid-changes"?. That would be rather usefull in this kind
of cases, since having to track down every change to see if it is or not a
proper change is both tedious and error-prone.

Or finally, in case darcs does not support this in any way, do you consider
viable to build a (perl/ruby/whatever) script on top of darcs that does this
kind of trivial revert by plugging into both STDIO and STDOUT? Any kind soul
out there has already done this???

angel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osuosl.org/pipermail/darcs-users/attachments/20060204/707fce61/attachment.htm 


More information about the darcs-users mailing list