Re: Can't commit after deleting files from repository

2012-05-02 Thread Daniel Shahaf
Lorenz wrote on Wed, May 02, 2012 at 06:40:03 +:
> nut wrote:
> 
> >I'm trying to delete some files from my repository. After "svn delete
> >", I get
> >
> >D  
> >
> >as expected, but when I try to commit, I get
> >
> >svn: Commit failed (details follow):
> >svn: ' is not under version control
> 
> looks like you are trying to 'svn commit '
> 
> You need to commit the containing folder instead, because that's where
> the deletion is recorded.

What?

% svn rm foo
D foo
% svn ci -mm foo
Deleting   foo

Committed revision 4.


Re: Can't commit after deleting files from repository

2012-05-02 Thread Lorenz
Daniel Shahaf wrote:

>Lorenz wrote on Wed, May 02, 2012 at 06:40:03 +:
>> nut wrote:
>> 
>> >I'm trying to delete some files from my repository. After "svn delete
>> >", I get
>> >
>> >D  
>> >
>> >as expected, but when I try to commit, I get
>> >
>> >svn: Commit failed (details follow):
>> >svn: ' is not under version control
>> 
>> looks like you are trying to 'svn commit '
>> 
>> You need to commit the containing folder instead, because that's where
>> the deletion is recorded.
>
>What?
>
>% svn rm foo
>D foo
>% svn ci -mm foo
>Deleting   foo
>
>Committed revision 4.

your right.

that teaches me (again) to try out everything before posting and to
not rely on memory alone.

sorry for the noice
-- 

Lorenz



Separate authentication files for each folder with svn

2012-05-02 Thread dhanushka ranasinghe
Hi.. guys

we have repo called   /svn/repo/   inside that i have   3  svn folders
called  trunk,branches,tags   my question is  , is there any way to
provide separate authentication file for each folder ( IF LDAP based
authentication used , use separate LDAP group for each folder )


Thank You
Dhanushka


svn authorization file with LDAP

2012-05-02 Thread dhanushka ranasinghe
Hi guys 

i have svn auth file like following

--

[groups]

group1=user1,user2

group2=user3,user4

[svn:/svn/repo1]
@group1 = rw

[wso2:/svn/repo2]
@group2 = rw


--



is there any way to provide LDAP groups in this auth files instated of
adding users it to manually

Thank You
Dhanushka


Re: svn authorization file with LDAP

2012-05-02 Thread Mark Phippard
On Wed, May 2, 2012 at 9:38 AM, dhanushka ranasinghe
 wrote:

> i have svn auth file like following
>
> --
>
> [groups]
>
> group1=user1,user2
>
> group2=user3,user4
>
> [svn:/svn/repo1]
> @group1 = rw
>
> [wso2:/svn/repo2]
> @group2 = rw
>
>
> is there any way to provide LDAP groups in this auth files instated of
> adding users it to manually

You can automate it with a script that writes your LDAP groups into
the auth file.

http://www.thoughtspark.org/node/26

Subversion itself has no knowledge of LDAP so it cannot query it for
group memberships.  Apache handles authentication, and Subversion just
knows the username you authenticated with.


-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/


Re: a TortoiseSVN error during update

2012-05-02 Thread frame
I have upgraded my TortoiseSVN from 1.7.1 to the most current one, 1.7.6. 
This error does not happen anymore. So it was a bug inside TortoiseSVN and 
it has been fixed.

One side issue, in my previous version, (I don't remember exactly how I 
installed), there is svn.exe inside bin/ directory. I like to use it on 
Cygwin command line. But now, svn.exe is not there any more. I have to use 
svn on Window Explorer, which is fine, but not my preferred way.

Google says it is correct that svn.exe is not available in TortoiseSVN. But 
I indeed had it. A bit confused.


Re: a TortoiseSVN error during update

2012-05-02 Thread Stefan Sperling
On Wed, May 02, 2012 at 07:24:52AM -0700, frame wrote:
> One side issue, in my previous version, (I don't remember exactly how I 
> installed), there is svn.exe inside bin/ directory. I like to use it on 
> Cygwin command line. But now, svn.exe is not there any more. I have to use 
> svn on Window Explorer, which is fine, but not my preferred way.

Re-install tortoisesvn and make sure to select the command-line tools
option during install. It is off by default.
 
> Google says it is correct that svn.exe is not available in TortoiseSVN. But 
> I indeed had it. A bit confused.

Google is talking about the past, not the present.


Re: a TortoiseSVN error during update

2012-05-02 Thread frame
OK. I just re-installed, selecting command line option. Now, svn.exe is 
available.

Another minor issue, on the web page, it states the following:

The current version is 1.7.6

For detailed info on what's new, read the 
changelog
 and the release notes .

The current version 1.7.6 is linked against the Subversion library 1.7.4.

What is that mean? I saw from the Cygwin command line shown below. I was 
expecting to see 1.7.6

$ svn --version
svn, version 1.7.4 (r1295709)
   compiled Mar  8 2012, 18:47:27

Copyright (C) 2012 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/


Re: a TortoiseSVN error during update

2012-05-02 Thread Ulrich Eckhardt
Am 02.05.2012 17:45, schrieb frame:
> Another minor issue, on the web page, it states the following:
> 
> The current version is 1.7.6
> 
> For detailed info on what's new, read the 
> changelog
>  and the release notes .
> 
> The current version 1.7.6 is linked against the Subversion library 1.7.4.
> 
> What is that mean?

TortoiseSVN 1.7.6 was linked against Subversion 1.7.4 [libraries]. TSVN
is a separate project built on top of SVN. Typically, whenever SVN
releases a new version, TSVN releases a new version, too, based on the
newer SVN. However, additional code also implies additional bugs, so now
and the TSVN has to increase its own patch version beyond that of SVN to
fix a few buglets that just can't wait till the next SVN release cycle.


> I saw from the Cygwin command line shown below. I was 
> expecting to see 1.7.6

The above doesn't apply to the commandline client. TSVN's distribution
is also an SVN distribution.

BTW:
1. TSVN is a separate project with a separate mailinglist. You are
barking up the wrong tree. ;^)
2. Take care that Cygwin is an OS inside an OS. As such, there is also a
port of SVN to Cygwin. Mixing those can cause trouble, if e.g. the line
endings are configured to LF for Cygwin. One SVN client will honor
those, the other won't.

Greetings!

Uli
**
Domino Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**
Visit our website at http://www.dominolaser.com
**
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten 
bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen 
Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein 
sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, 
weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte 
Änderungen enthalten. Domino Laser GmbH ist für diese Folgen nicht 
verantwortlich.
**