Re: [Zope3-dev] Re: SVN: Zope3/branches/roger-bostonskin2/src/zope/app/boston/ Cleanup and some restructuring:
I commonly get the problem when I do a checkout on unix and then add or edit files by a samba share... cheers, Chris Roger Ineichen wrote: Hi Pilipp Thanks for the note. Mine are set too, since more then 2 years now. Perhaps this was a copy paste problem. Then if you copy files in a workspace the properties doesn't get copied. But I really don't know why this happens, perhaps it's a bug in my SVN client. Btw, it doesn't matter if you set the property or do it in a text editor. If you do a update the result it the same and also the notification mail. I'll take a look at this next time if I will add a new file to the trunk. Regards Roger Ineichen Projekt01 GmbH www.projekt01.ch _ END OF MESSAGE -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Philipp von Weitershausen Sent: Wednesday, November 02, 2005 2:11 PM To: [EMAIL PROTECTED] Cc: Roger Ineichen; zope3-dev@zope.org Subject: [Zope3-dev] Re: SVN: Zope3/branches/roger-bostonskin2/src/zope/app/boston/ Cleanup and some restructuring: Stephan Richter wrote: On Wednesday 02 November 2005 03:51, Philipp von Weitershausen wrote: In fact, we *require* all text files (.py, .pt, .zcml, .txt) to have the svn:eol-style property set to "native", so that Windows checkouts have Windows line-endings and Unix checkouts have Unix line-endings. I strongly suggest that everyone, in this case especially Roger and Stephan, revise their subversion configuration to use auto-properties. To enable them on Unix, make sure your ~/.subversion/conf file has the following line enabled: Mine are set!!! Ok, but it was Roger who added the files, so it seems at least Roger's aren't set. Either way, I CC'ed you for tip (changing svn:eol-style instead of using a text editor to change the line endings). Philipp ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/dev%40projekt01.ch ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/chris%40simplistix.co.uk -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
RE: [Zope3-dev] Re: SVN: Zope3/branches/roger-bostonskin2/src/zope/app/boston/ Cleanup and some restructuring:
Hi Pilipp Thanks for the note. Mine are set too, since more then 2 years now. Perhaps this was a copy paste problem. Then if you copy files in a workspace the properties doesn't get copied. But I really don't know why this happens, perhaps it's a bug in my SVN client. Btw, it doesn't matter if you set the property or do it in a text editor. If you do a update the result it the same and also the notification mail. I'll take a look at this next time if I will add a new file to the trunk. Regards Roger Ineichen Projekt01 GmbH www.projekt01.ch _ END OF MESSAGE > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Philipp von Weitershausen > Sent: Wednesday, November 02, 2005 2:11 PM > To: [EMAIL PROTECTED] > Cc: Roger Ineichen; zope3-dev@zope.org > Subject: [Zope3-dev] Re: SVN: > Zope3/branches/roger-bostonskin2/src/zope/app/boston/ Cleanup > and some restructuring: > > Stephan Richter wrote: > > On Wednesday 02 November 2005 03:51, Philipp von > Weitershausen wrote: > > > >>In fact, we *require* all text files (.py, .pt, .zcml, > .txt) to have the > >>svn:eol-style property set to "native", so that Windows > checkouts have > >>Windows line-endings and Unix checkouts have Unix line-endings. I > >>strongly suggest that everyone, in this case especially Roger and > >>Stephan, revise their subversion configuration to use > auto-properties. > >>To enable them on Unix, make sure your ~/.subversion/conf > file has the > >>following line enabled: > > > > > > Mine are set!!! > > Ok, but it was Roger who added the files, so it seems at least Roger's > aren't set. Either way, I CC'ed you for tip (changing svn:eol-style > instead of using a text editor to change the line endings). > > Philipp > ___ > Zope3-dev mailing list > Zope3-dev@zope.org > Unsub: > http://mail.zope.org/mailman/options/zope3-dev/dev%40projekt01.ch > > ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
[Zope3-dev] Re: SVN: Zope3/branches/roger-bostonskin2/src/zope/app/boston/ Cleanup and some restructuring:
Stephan Richter wrote: > On Wednesday 02 November 2005 03:51, Philipp von Weitershausen wrote: > >>In fact, we *require* all text files (.py, .pt, .zcml, .txt) to have the >>svn:eol-style property set to "native", so that Windows checkouts have >>Windows line-endings and Unix checkouts have Unix line-endings. I >>strongly suggest that everyone, in this case especially Roger and >>Stephan, revise their subversion configuration to use auto-properties. >>To enable them on Unix, make sure your ~/.subversion/conf file has the >>following line enabled: > > > Mine are set!!! Ok, but it was Roger who added the files, so it seems at least Roger's aren't set. Either way, I CC'ed you for tip (changing svn:eol-style instead of using a text editor to change the line endings). Philipp ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
[Zope3-dev] Re: SVN: Zope3/branches/roger-bostonskin2/src/zope/app/boston/ Cleanup and some restructuring:
On Wednesday 02 November 2005 03:51, Philipp von Weitershausen wrote: > In fact, we *require* all text files (.py, .pt, .zcml, .txt) to have the > svn:eol-style property set to "native", so that Windows checkouts have > Windows line-endings and Unix checkouts have Unix line-endings. I > strongly suggest that everyone, in this case especially Roger and > Stephan, revise their subversion configuration to use auto-properties. > To enable them on Unix, make sure your ~/.subversion/conf file has the > following line enabled: Mine are set!!! Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
[Zope3-dev] Re: SVN: Zope3/branches/roger-bostonskin2/src/zope/app/boston/ Cleanup and some restructuring:
Stephan Richter wrote: > Log message for revision 39800: > Cleanup and some restructuring: > > - Converted TAB characters to spaces. > > - Switched from DOS line endings to Unix ones. This was quite unnecessary, unfortunately. Setting the svn:eol-style property to "native" on those files would have been enough. Then the next checkout of the files would've resulted in native line endings on whichever system you're checking out. Now with a manual change, we've got a big diff without actually having changed the file, with all the implications for svn annotate etc. In fact, we *require* all text files (.py, .pt, .zcml, .txt) to have the svn:eol-style property set to "native", so that Windows checkouts have Windows line-endings and Unix checkouts have Unix line-endings. I strongly suggest that everyone, in this case especially Roger and Stephan, revise their subversion configuration to use auto-properties. To enable them on Unix, make sure your ~/.subversion/conf file has the following line enabled: enable-auto-props = yes Then, add the [auto-props] configuration section to specify which filenames should have which auto-properties. Mine looks like this: [auto-props] *.c = svn:eol-style=native *.cpp = svn:eol-style=native *.h = svn:eol-style=native *.py = svn:eol-style=native *.pt = svn:eol-style=native *.zcml = svn:eol-style=native *.html = svn:eol-style=native *.xml = svn:eol-style=native *.xsl = svn:eol-style=native *.css = svn:eol-style=native *.js = svn:eol-style=native *.txt = svn:eol-style=native Makefile = svn:eol-style=native I have no idea what the deal is with a Windows-based subversion setup, but it should be possible there as well. I hope that a future version of svn will have repository-based auto-props, so that this isn't a problem anymore when a user forgets to set it. Philipp ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com