by default, automatic transfer the dir as Binary for _darcs

Advertisement

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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

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.

Reply with quote

Advertisement

You can post new topics in this forum