commit and symbolic links

View: New views
6 Messages — Rating Filter:   Alert me  

commit and symbolic links

by Normen Müller-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear SVNKit team,

    in my home directory I have a symbolic link 'mysvn' pointing to '~/vc/svn/nmueller'.  If I run a commit on this symbolic link, I got the following error:

[~]
$ jsvn ci -m "draining" mysvn/
svn: '.' is not a working copy
svn: Cannot read from '.svn/format': /Users/nmueller/.svn/format (No such file or directory)

    However, if I first change into this directory by 'cd mysvn' and than run a commit (without a target), everything works fine:

[~/mysvn]
$ jsvn ci -m "draining"

Any suggestions?

Cheers,
  /nm

---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@...
For additional commands, e-mail: svnkit-users-help@...


Re: commit and symbolic links

by Normen Müller-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oh that's interesting:  If I leave the tailing '/' out it works:

[~]
$ jsvn ci -m "draining" mysvn

Cheers,
  /nm


Normen Müller wrote:

> Dear SVNKit team,
>
>    in my home directory I have a symbolic link 'mysvn' pointing to
> '~/vc/svn/nmueller'.  If I run a commit on this symbolic link, I got the
> following error:
>
> [~]
> $ jsvn ci -m "draining" mysvn/
> svn: '.' is not a working copy
> svn: Cannot read from '.svn/format': /Users/nmueller/.svn/format (No
> such file or directory)
>
>    However, if I first change into this directory by 'cd mysvn' and than
> run a commit (without a target), everything works fine:
>
> [~/mysvn]
> $ jsvn ci -m "draining"
> Any suggestions?
>
> Cheers,
>  /nm


---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@...
For additional commands, e-mail: svnkit-users-help@...


Re: commit and symbolic links

by Normen Müller-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry, I meant ``st'' not ``ci''.  So again:  Requesting the status works even on symbolic links, but committing on symbolic links _doesn't_.  Sorry for the confusion.

Normen Müller wrote:

> Oh that's interesting:  If I leave the tailing '/' out it works:
>
> [~]
> $ jsvn ci -m "draining" mysvn
>
> Cheers,
>  /nm
>
>
> Normen Müller wrote:
>> Dear SVNKit team,
>>
>>    in my home directory I have a symbolic link 'mysvn' pointing to
>> '~/vc/svn/nmueller'.  If I run a commit on this symbolic link, I got
>> the following error:
>>
>> [~]
>> $ jsvn ci -m "draining" mysvn/
>> svn: '.' is not a working copy
>> svn: Cannot read from '.svn/format': /Users/nmueller/.svn/format (No
>> such file or directory)
>>
>>    However, if I first change into this directory by 'cd mysvn' and
>> than run a commit (without a target), everything works fine:
>>
>> [~/mysvn]
>> $ jsvn ci -m "draining"
>> Any suggestions?
>>
>> Cheers,
>>  /nm
>


---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@...
For additional commands, e-mail: svnkit-users-help@...


Re: commit and symbolic links

by Alexander Kitaev-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you Normen, I'll check this soon.

Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!

Normen Müller wrote:

> Sorry, I meant ``st'' not ``ci''.  So again:  Requesting the status
> works even on symbolic links, but committing on symbolic links
> _doesn't_.  Sorry for the confusion.
>
> Normen Müller wrote:
>> Oh that's interesting:  If I leave the tailing '/' out it works:
>>
>> [~]
>> $ jsvn ci -m "draining" mysvn
>>
>> Cheers,
>>  /nm
>>
>>
>> Normen Müller wrote:
>>> Dear SVNKit team,
>>>
>>>    in my home directory I have a symbolic link 'mysvn' pointing to
>>> '~/vc/svn/nmueller'.  If I run a commit on this symbolic link, I got
>>> the following error:
>>>
>>> [~]
>>> $ jsvn ci -m "draining" mysvn/
>>> svn: '.' is not a working copy
>>> svn: Cannot read from '.svn/format': /Users/nmueller/.svn/format (No
>>> such file or directory)
>>>
>>>    However, if I first change into this directory by 'cd mysvn' and
>>> than run a commit (without a target), everything works fine:
>>>
>>> [~/mysvn]
>>> $ jsvn ci -m "draining"
>>> Any suggestions?
>>>
>>> Cheers,
>>>  /nm
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svnkit-users-unsubscribe@...
> For additional commands, e-mail: svnkit-users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@...
For additional commands, e-mail: svnkit-users-help@...


Re: commit and symbolic links

by Alexander Kitaev-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Normen,

It looks like native Subversion client behaves the same way when one
attempts to commit symlink that points to a working copy. This sets low
priority for that issue, so I think we'll take care of it after 1.2.0
release.

Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!

Normen Müller wrote:

> Sorry, I meant ``st'' not ``ci''.  So again:  Requesting the status
> works even on symbolic links, but committing on symbolic links
> _doesn't_.  Sorry for the confusion.
>
> Normen Müller wrote:
>> Oh that's interesting:  If I leave the tailing '/' out it works:
>>
>> [~]
>> $ jsvn ci -m "draining" mysvn
>>
>> Cheers,
>>  /nm
>>
>>
>> Normen Müller wrote:
>>> Dear SVNKit team,
>>>
>>>    in my home directory I have a symbolic link 'mysvn' pointing to
>>> '~/vc/svn/nmueller'.  If I run a commit on this symbolic link, I got
>>> the following error:
>>>
>>> [~]
>>> $ jsvn ci -m "draining" mysvn/
>>> svn: '.' is not a working copy
>>> svn: Cannot read from '.svn/format': /Users/nmueller/.svn/format (No
>>> such file or directory)
>>>
>>>    However, if I first change into this directory by 'cd mysvn' and
>>> than run a commit (without a target), everything works fine:
>>>
>>> [~/mysvn]
>>> $ jsvn ci -m "draining"
>>> Any suggestions?
>>>
>>> Cheers,
>>>  /nm
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svnkit-users-unsubscribe@...
> For additional commands, e-mail: svnkit-users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@...
For additional commands, e-mail: svnkit-users-help@...


Re: commit and symbolic links

by Normen Müller-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alright, but it's still good to know that you won't forget.  So it's still in the queue, right?  Anyway, thank you very much for your reply.  It's very nice and good to know that all questions to the mailing-list get answered.  

You guys are doing a great job!!

Cheers,
  /nm

Alexander Kitaev wrote:

> Hello Normen,
>
> It looks like native Subversion client behaves the same way when one
> attempts to commit symlink that points to a working copy. This sets low
> priority for that issue, so I think we'll take care of it after 1.2.0
> release.
>
> Alexander Kitaev,
> TMate Software,
> http://svnkit.com/ - Java [Sub]Versioning Library!
>
> Normen Müller wrote:
>> Sorry, I meant ``st'' not ``ci''.  So again:  Requesting the status
>> works even on symbolic links, but committing on symbolic links
>> _doesn't_.  Sorry for the confusion.
>>
>> Normen Müller wrote:
>>> Oh that's interesting:  If I leave the tailing '/' out it works:
>>>
>>> [~]
>>> $ jsvn ci -m "draining" mysvn
>>>
>>> Cheers,
>>>  /nm
>>>
>>>
>>> Normen Müller wrote:
>>>> Dear SVNKit team,
>>>>
>>>>    in my home directory I have a symbolic link 'mysvn' pointing to
>>>> '~/vc/svn/nmueller'.  If I run a commit on this symbolic link, I got
>>>> the following error:
>>>>
>>>> [~]
>>>> $ jsvn ci -m "draining" mysvn/
>>>> svn: '.' is not a working copy
>>>> svn: Cannot read from '.svn/format': /Users/nmueller/.svn/format (No
>>>> such file or directory)
>>>>
>>>>    However, if I first change into this directory by 'cd mysvn' and
>>>> than run a commit (without a target), everything works fine:
>>>>
>>>> [~/mysvn]
>>>> $ jsvn ci -m "draining"
>>>> Any suggestions?
>>>>
>>>> Cheers,
>>>>  /nm
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: svnkit-users-unsubscribe@...
>> For additional commands, e-mail: svnkit-users-help@...
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svnkit-users-unsubscribe@...
> For additional commands, e-mail: svnkit-users-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@...
For additional commands, e-mail: svnkit-users-help@...