Restoring access rights while repository migration.

2011-09-26 Thread Rajnish Kumar Singh
Hello All,

Greetings of the day!
Is there any way in which we can move the repository on the same server or 
rename it with all the access rights intact. Because as soon as I archive the 
repository at the different location on the same or other server(SVN hotcopy 
command), then all the users access rights are revoked.

Any help will be highly appreciated.
Regards,
Rajnish K Singh



Re: Restoring access rights while repository migration.

2011-09-26 Thread Ulrich Eckhardt

Am 26.09.2011 11:42, schrieb Rajnish Kumar Singh:

Is there any way in which we can move the repository on the same
server or rename it with all the access rights intact. Because as
soon as I archive the repository at the different location on the
same or other server(SVN hotcopy command), then all the users access
rights are revoked.


The authorization/authentication settings depend on the used server, 
i.e. either svnserve or Apache. For Apache, they are (I believe) 
external to the repository itself, which is the reason that the hotcopy 
doesn't preserve them. Instead, you'll need to tell Apache that the new 
location uses this-and-that access configuration, but then it should 
work again.


Good luck!

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.
**



FAQ entry needs improvement

2011-09-26 Thread Daniel Shahaf
https://svn.apache.org/repos/asf/subversion/site/publish/faq.html#undo

It's the most frequently asked question on IRC, and I'm tried of
invoking the 'undo' factoid, perhaps people can help patch that entry to
make it clearer?

Thanks.


< wayita> undo is done using 'svn merge' or 'svn copy':
  
http://svnbook.red-bean.com/nightly/en/svn.branchmerge.basicmerging.html#svn.branchmerge.basicmerging.undo


svnsync fails to backup a particular revision of one repository

2011-09-26 Thread David Aldrich
Hi

We have a problem with svnsync.  We run:

svnsync sync /svn/

periodically to backup our master repositories to an offsite  server.

For one particular repository, this command fails to sync one particular 
revision. We see:

Copied properties for revision 3125.
Transmitting file data ..
Committed revision 3126.
Copied properties for revision 3126.
Transmitting file data . svnsync: 
'/svn//branches//' path not found

As far as we can tell, svnsync does have permission to access this path.  We 
run svn 1.6.17.

Please can anyone suggest how to fix this?

Best regards

David



Error "not under version control" when trying to reintegrate branch

2011-09-26 Thread Gurvan Le Guernic
   Hi,

 I am receiving the error "svn: 'workingBranch_gurvan' is not under
version control" when trying to reintegrate a versioned branch.

 I have access to a SVN repository which contains a subdirectory for a
project called jpf-encover. The project is not at the root of the SVN
repository and my rights on this repository evolved.

 The project has one trunk and one brach. The structure of the
repository is the following:
/.../jpf-encover/TRUNK
/.../jpf-encover/BRANCHES/workingBranch_gurvan

 The branch "workingBranch_gurvan" has been created by someone who had
read/write access on the root of the SVN repository. When the branch
has been created I did not had read access to the root of the SVN
repository and was receiving an error regarding PROPFIND when trying
to create the branch.

 The work in the branch is now ready to be reintegrated the trunk.
Without read/write access to the root of the SVN repository I could
not do it (same PROPFIND related error). I got granted read/write
access to the root of the SVN repository in order to do the
reintegration myself.
 Merging back the trunk into the branch went well. In the working copy
of the branch, I did:
   - svn merge https://.../.../jpf-encover/TRUNK
 -> one conflict ('C') that seemed to be vacuous. I opened the
file which did not contain any conflict section (<<< 
>>), recompiled and retested. Everything went well.
   - svn commit -m "..."
 But reintegrating the branch into the trunk triggers an error. In the
working copy of the trunk, I did:
   - svn update
 -> ok, no modifications
   - svn merge --reintegrate
https://.../.../jpf-encover/BRANCHES/workingBranch_gurvan
 -> Triggers the error "svn: 'workingBranch_gurvan' is not under
version control"

 So SVN claims the branch is not under version control, but it really
is. If I try "svn add ." in the working copy of the branch,  I get
"svn: warning: '.' is already under version control". If I query the
properties for the branch, I see a property named "svn:mergeinfo" with
value "/.../jpf-encover/TRUNK:137-145".

"svn --version" on my terminal returns "svn, version 1.6.6 (r40053)".
I do not know the version of the server.

 Does anyone knows why svn merge --reintegrate claims the branch is
not under version control?

   Thanks,
   Gurvan


Re: FAQ entry needs improvement

2011-09-26 Thread Ryan Schmidt

On Sep 26, 2011, at 05:20, Daniel Shahaf wrote:

> https://svn.apache.org/repos/asf/subversion/site/publish/faq.html#undo
> 
> It's the most frequently asked question on IRC, and I'm tried of
> invoking the 'undo' factoid, perhaps people can help patch that entry to
> make it clearer?
> 
> Thanks.
> 
> 
> < wayita> undo is done using 'svn merge' or 'svn copy':
>  
> http://svnbook.red-bean.com/nightly/en/svn.branchmerge.basicmerging.html#svn.branchmerge.basicmerging.undo

What would make the FAQ entry clearer?




Re: svnsync fails to backup a particular revision of one repository

2011-09-26 Thread Daniel Shahaf
Permissions issues suggest you're thinking of the source repository, but
the error might well come from the target repository.

David Aldrich wrote on Mon, Sep 26, 2011 at 13:48:26 +:
> Hi
> 
> We have a problem with svnsync.  We run:
> 
> svnsync sync /svn/
> 
> periodically to backup our master repositories to an offsite  server.
> 
> For one particular repository, this command fails to sync one particular 
> revision. We see:
> 
> Copied properties for revision 3125.
> Transmitting file data ..
> Committed revision 3126.
> Copied properties for revision 3126.
> Transmitting file data . svnsync: 
> '/svn//branches//' path not found
> 
> As far as we can tell, svnsync does have permission to access this path.  We 
> run svn 1.6.17.
> 
> Please can anyone suggest how to fix this?
> 
> Best regards
> 
> David
> 


Full text search engines for SVN?

2011-09-26 Thread Joshua J. Kugler
Does anyone have any full-text search engines they'd recommend for 
Subversion?  I've found a couple geared specifically for subversion:

http://www.supose.org/wiki/supose

and

http://svn-search.sourceforge.net/

But they both appear to be rather abandoned.  And they require Tomcat 
(or similar) for their web front end.

There is also OpenGrok, which looks fantastic, but is missing *the* 
feature I want from svn-search: it restricts results to the code the 
user can actually access.

Suggestions?

j

-- 
Joshua J. Kugler - Fairbanks, Alaska
Azariah Enterprises - Programming and Website Design
jos...@azariah.com - Jabber: pedah...@gmail.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A


Re: Full text search engines for SVN?

2011-09-26 Thread Geoff Hoffman
On Mon, Sep 26, 2011 at 6:46 PM, Joshua J. Kugler wrote:

> Does anyone have any full-text search engines they'd recommend for
> Subversion?  I've found a couple geared specifically for subversion:
>
> http://www.supose.org/wiki/supose
>
> and
>
> http://svn-search.sourceforge.net/
>
> But they both appear to be rather abandoned.  And they require Tomcat
> (or similar) for their web front end.
>
> There is also OpenGrok, which looks fantastic, but is missing *the*
> feature I want from svn-search: it restricts results to the code the
> user can actually access.
>
> Suggestions?
>
> j
>
> --
> Joshua J. Kugler - Fairbanks, Alaska
> Azariah Enterprises - Programming and Website Design
> jos...@azariah.com - Jabber: pedah...@gmail.com
> PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A
>



This was recently asked...


Re: Full text search engines for SVN?

2011-09-26 Thread Geoff Hoffman
On Mon, Sep 26, 2011 at 7:40 PM, Geoff Hoffman wrote:

>
> On Mon, Sep 26, 2011 at 6:46 PM, Joshua J. Kugler wrote:
>
>> Does anyone have any full-text search engines they'd recommend for
>> Subversion?  I've found a couple geared specifically for subversion:
>>
>> http://www.supose.org/wiki/supose
>>
>> and
>>
>> http://svn-search.sourceforge.net/
>>
>> But they both appear to be rather abandoned.  And they require Tomcat
>> (or similar) for their web front end.
>>
>> There is also OpenGrok, which looks fantastic, but is missing *the*
>> feature I want from svn-search: it restricts results to the code the
>> user can actually access.
>>
>> Suggestions?
>>
>> j
>>
>> --
>> Joshua J. Kugler - Fairbanks, Alaska
>> Azariah Enterprises - Programming and Website Design
>> jos...@azariah.com - Jabber: pedah...@gmail.com
>> PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A
>>
>
>
>
> This was recently 
> asked...
>

And 
answered...

Hope it helps you!


Re: Full text search engines for SVN?

2011-09-26 Thread Joshua J. Kugler
On Monday, September 26, 2011, Geoff Hoffman elucidated thus:
> > This was recently
> > asked...
> 
> And
> answered... earcher&sa=Search&sitesearch=svn.haxx.se&client=pub-9313125053076989&
> forid=1&channel=8989477434&ie=ISO-8859-1&oe=ISO-8859-1&cof=GALT%3A%23
> 0066CC%3BGL%3A1%3BDIV%3A%2399%3BVLC%3A336633%3BAH%3Acenter%3BBGC%
> 3AFF%3BLBGC%3AFF9900%3BALC%3A0066CC%3BLC%3A0066CC%3BT%3A00%3B
> GFNT%3A66%3BGIMP%3A66%3BFORID%3A1%3B&hl=en>
> 
> Hope it helps you!

Thanks!

j

-- 
Joshua J. Kugler - Fairbanks, Alaska
Azariah Enterprises - Programming and Website Design
jos...@azariah.com - Jabber: pedah...@gmail.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A