You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Carsten Schlote <ca...@gmx.net> on 2004/04/30 12:19:45 UTC

Problems with actual cygwin subversion

Hi,

I started working with subversion some time ago. I installed the native
win32 subversion and explorer shell extention.

Additionally I installed the subversion cgywin package, because I use cygwin
as my primary shell on windows. I also use GNU make and other tools. 

I encountered some problems, if you configure cygwin to automatically use
CRLF expansion (DOS mode). It seems to corrupt files in .svn and probaly
files marked as binary (Base checksum mismatch on... problem). 

I changed the cygwin setup to use UNIX mode for cygwin. I'm not completely
through with my tests, but this might fix some of the problems.

I'm really interested to use subversion within the cygwin environment, I'd
like to know who is the current cygwin package maintainer. So I might help
with adapting subversion to work in bothe mode, DOS and UNIX.

I really want to avoid the windows path conversion games within my make
scripts.

-- 
Regards
 Carsten

"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Problems with actual cygwin subversion

Posted by Max Bowsher <ma...@ukf.net>.
Carsten Schlote wrote:
> Hi,
>
> I started working with subversion some time ago. I installed the native
> win32 subversion and explorer shell extention.
>
> Additionally I installed the subversion cgywin package, because I use
cygwin
> as my primary shell on windows. I also use GNU make and other tools.

Which package? There is no official Cygwin package yet.

> I encountered some problems, if you configure cygwin to automatically use
> CRLF expansion (DOS mode). It seems to corrupt files in .svn and probaly
> files marked as binary (Base checksum mismatch on... problem).
>
> I changed the cygwin setup to use UNIX mode for cygwin. I'm not completely
> through with my tests, but this might fix some of the problems.

Should do, I've been using built-from-source subversion on Cygwin for a
while. Binary/UNIX mode and no problems.

> I'm really interested to use subversion within the cygwin environment, I'd
> like to know who is the current cygwin package maintainer.

There is no current cygwin package maintainer, because there is no current
Cygwin package. In any case, Cygwin policy is that packaging problems should
be addressed on the cygwin-apps mailing list, *not* direct to the individual
package maintainer.

> So I might help
> with adapting subversion to work in bothe mode, DOS and UNIX.
>
> I really want to avoid the windows path conversion games within my make
> scripts.


Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Problems with actual cygwin subversion

Posted by John Peacock <jp...@rowman.com>.
Carsten Schlote wrote:
> I encountered some problems, if you configure cygwin to automatically use
> CRLF expansion (DOS mode). It seems to corrupt files in .svn and probaly
> files marked as binary (Base checksum mismatch on... problem). 

That's correct.  As far as Subversion is concerned, Cygwin == Unix, so 
Subversion does no EOL translation when checking out the files from the 
repository.  The DOS mode hack changes the file's contents behind the scenes, so 
this messes up the checksums as you've found.  As long as you use binmode mounts 
and not textmode, you are fine.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org