[darcs-users] tips for switching an accidentally binary file back to source?

David Roundy droundy at abridgegame.org
Tue Nov 16 11:48:54 UTC 2004

On Mon, Nov 15, 2004 at 05:58:32PM +0000, Mark Stosberg wrote:
> We've got a source file managed by darcs that was accidently
> recorded as binary, and has a little history with it already.
> What alternatives are there to adjust this? 
> Is the simplest thing just to 'darcs remove' and 
> 'darcs add' the file again? 

All you have to do is convince darcs that it isn't binary, and everything
should be fine.  Your old history won't be line-based, and won't commute
with any new changes, but nothing should be harmed by a few binary patches
in the history.
David Roundy

More information about the darcs-users mailing list