Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: by default, automatic transfer the dir as Binary for _darcs

Maybe I can add opton to use negative file masks, so you can specify something like "!*/_darcs/*" to force binary mode for all files in _darcs directory.
Guest

by default, automatic transfer the dir as Binary for _darcs

When starting out with the Darcs revision control system, specifically when following the Darcs Wiki instructions its very tempting to just drag a remote _darcs directory with WinSCP from a Unix server to a local development drive. The problem with this is that the Automatic settings are not ideal for this particular directory, it should be binary. And preferably, all edits should be done with emacs, and definitely not notepad, to avoid ctrl-m style carriage returns on local edits. With these caveats, a darcs push will succeed fairly well. Its difficult enough getting started with darcs and getting a mindset for applying patches properly, and so having WinSCP detect directories named _darcs so as to transfer them as Binary when on the default Automatic setting, would be a step in the right direction.