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

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to