You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Sven Köhler <sv...@gmail.com> on 2012/01/12 13:13:20 UTC

[bug?] local file not shown as modified, if eol-style differs

Hi,

consider the following steps:
- checkout a file from SVN that has svn:eol-style=CRLF
- verify that the file has CRLF line endings
- convert the file to unix line endings using dos2unix, recode, etc.
- verify that the file has LF line endings

Now you observe the following:
1) svn diff shows nothing
2) svn status shows nothing
3) even after svn update, the LF line endings remain

The only command I have found to actually restore the CRLF line endings
is svn revert. I'm using subversion 1.6.17.

Isn't the behaviour of subversion kind of odd? I mean, I wouldn't have
set eol-style to something other than native if the line endings
wouldn't matter to me. It is expected, that svn diff shows nothing. But
it's odd that svn status doesn't even inform me that the local file has
been altered - especially if the line endings of that file matter, I
kind of depend on subversion to tell me about it. It would be another
nice feature if subversion would not only ignore the line endings, but
also restore the proper line endings (according to svn:eol-style) on
demand (for example during an update).

If restoring the line endings is not the responsibility of subversion,
than what sense does it make to set eol-style to anything else than native?


Regards,
  Sven


Re: Applications for SVN.

Posted by shrinivasan <sh...@collab.net>.
On Thursday 12 January 2012 06:27 PM, Leonardo wrote:
> Hi all,
>
> I'm installing some versions control system at work and I'd like to have so suggestions about it.
>
> We've decided to use SVN, but it will be nice having some web application that it will allow developers to create and manage their own projects. It will avoid svn commands manually execution for any new project we create.
>
> It will be perfect if there is some web server application which allows projects management, installed in same machine as svn server. Then, the developers could create and manage their projects from any machine by web browser. I really don't know if there is some software with this feature.
>
> I've looked for some, I found viewvc and svn-web-admin. You advice me use one of them or any other?
>
> I will appreciate your help.
> Leonardo
>
Get CollabNet Subversion Edge : http://www.collab.net/svnedge

It is a stack of apache, subversion, webUI to administer repos.


Regards,
Shrini

Re: Applications for SVN.

Posted by Mat Booth <ma...@wandisco.com>.
On 12 January 2012 12:57, Leonardo <le...@sweda.com.br> wrote:
> Hi all,
>
> I'm installing some versions control system at work and I'd like to have so suggestions about it.
>
> We've decided to use SVN, but it will be nice having some web application that it will allow developers to create and manage their own projects. It will avoid svn commands manually execution for any new project we create.
>
> It will be perfect if there is some web server application which allows projects management, installed in same machine as svn server. Then, the developers could create and manage their projects from any machine by web browser. I really don't know if there is some software with this feature.
>
> I've looked for some, I found viewvc and svn-web-admin. You advice me use one of them or any other?
>
> I will appreciate your help.
> Leonardo
>

There is also the uberSVN Beta: http://www.ubersvn.com/

-- 
Regards,

Mat Booth
Software Engineer
WANdisco, Inc.

http://www.wandisco.com

Re: Applications for SVN.

Posted by Mark Phippard <ma...@gmail.com>.
Try Subversion Edge

https://ctf.open.collab.net/sf/projects/svnedge

Note it is also a complete managed distribution of the binaries as well.

Sent from my iPhone

On Jan 12, 2012, at 7:57 AM, "Leonardo" <le...@sweda.com.br> wrote:

> Hi all, 
> 
> I'm installing some versions control system at work and I'd like to have so suggestions about it. 
> 
> We've decided to use SVN, but it will be nice having some web application that it will allow developers to create and manage their own projects. It will avoid svn commands manually execution for any new project we create.
> 
> It will be perfect if there is some web server application which allows projects management, installed in same machine as svn server. Then, the developers could create and manage their projects from any machine by web browser. I really don't know if there is some software with this feature.
> 
> I've looked for some, I found viewvc and svn-web-admin. You advice me use one of them or any other?
> 
> I will appreciate your help.
> Leonardo
> 

Applications for SVN.

Posted by Leonardo <le...@sweda.com.br>.
Hi all, 

I'm installing some versions control system at work and I'd like to have so suggestions about it. 

We've decided to use SVN, but it will be nice having some web application that it will allow developers to create and manage their own projects. It will avoid svn commands manually execution for any new project we create.

It will be perfect if there is some web server application which allows projects management, installed in same machine as svn server. Then, the developers could create and manage their projects from any machine by web browser. I really don't know if there is some software with this feature.

I've looked for some, I found viewvc and svn-web-admin. You advice me use one of them or any other?

I will appreciate your help.
Leonardo


Re: [bug?] local file not shown as modified, if eol-style differs

Posted by Sven Köhler <sv...@gmail.com>.
Am 12.01.2012 15:39, schrieb Daniel Shahaf:
> http://subversion.tigris.org/issues/show_bug.cgi?id=4072
> http://subversion.tigris.org/issues/show_bug.cgi?id=4070

Thanks.




Re: [bug?] local file not shown as modified, if eol-style differs

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
http://subversion.tigris.org/issues/show_bug.cgi?id=4072
http://subversion.tigris.org/issues/show_bug.cgi?id=4070

On Thu, Jan 12, 2012, at 08:39, Andy Levy wrote:
> On Thu, Jan 12, 2012 at 07:13, Sven Köhler <sv...@gmail.com> wrote:
> > Hi,
> >
> > consider the following steps:
> > - checkout a file from SVN that has svn:eol-style=CRLF
> > - verify that the file has CRLF line endings
> > - convert the file to unix line endings using dos2unix, recode, etc.
> > - verify that the file has LF line endings
> >
> > Now you observe the following:
> > 1) svn diff shows nothing
> > 2) svn status shows nothing
> > 3) even after svn update, the LF line endings remain
> >
> > The only command I have found to actually restore the CRLF line endings
> > is svn revert. I'm using subversion 1.6.17.
> >
> > Isn't the behaviour of subversion kind of odd? I mean, I wouldn't have
> > set eol-style to something other than native if the line endings
> > wouldn't matter to me. It is expected, that svn diff shows nothing. But
> > it's odd that svn status doesn't even inform me that the local file has
> > been altered - especially if the line endings of that file matter, I
> > kind of depend on subversion to tell me about it. It would be another
> > nice feature if subversion would not only ignore the line endings, but
> > also restore the proper line endings (according to svn:eol-style) on
> > demand (for example during an update).
> 
> When you changed EOL characters, did the file timestamps change?
> 

Re: [bug?] local file not shown as modified, if eol-style differs

Posted by Andy Levy <an...@gmail.com>.
On Thu, Jan 12, 2012 at 07:13, Sven Köhler <sv...@gmail.com> wrote:
> Hi,
>
> consider the following steps:
> - checkout a file from SVN that has svn:eol-style=CRLF
> - verify that the file has CRLF line endings
> - convert the file to unix line endings using dos2unix, recode, etc.
> - verify that the file has LF line endings
>
> Now you observe the following:
> 1) svn diff shows nothing
> 2) svn status shows nothing
> 3) even after svn update, the LF line endings remain
>
> The only command I have found to actually restore the CRLF line endings
> is svn revert. I'm using subversion 1.6.17.
>
> Isn't the behaviour of subversion kind of odd? I mean, I wouldn't have
> set eol-style to something other than native if the line endings
> wouldn't matter to me. It is expected, that svn diff shows nothing. But
> it's odd that svn status doesn't even inform me that the local file has
> been altered - especially if the line endings of that file matter, I
> kind of depend on subversion to tell me about it. It would be another
> nice feature if subversion would not only ignore the line endings, but
> also restore the proper line endings (according to svn:eol-style) on
> demand (for example during an update).

When you changed EOL characters, did the file timestamps change?