subscribe and Post

2014-07-15 Thread Manjunath Kashyap
Hi SVN users,

We are planning to set up a write through proxy.The Master SVN version is
1.8.8 and it is on revision r627560  currently. My question before
proceeding this setup is Is there a necessity to fix the Master SVN
repository since we have tons of svn loads which have by passed the svn
prop validation.Will the svnsync complete without any errors? We have even
tried to fix the repository, but the fix fails due to the below errors,

*svnadmin: E185001: Svndiff contains a too-large window*

 *svnadmin: E140001: zlib (uncompress): corrupt data: Decompression of
svndiff data failed*


Please let me know if these errors occur while svnsync.

Are there any pre-requisites which needs to be checked before going forward?

Appreciate help in this regard.

Thanks in advance.


newbie cant import files into repo

2014-07-15 Thread frank ernest
Hi, I created a repo using svnadmin create in a dir called trunk (that's what 
your supposed to do, right?) The operation succeeded but the files that I want 
to version (c source which I should have versioned long ago.) I can't seem to 
add to the repo. When the code is ready for alpha release I plan to host it on 
source forge but until then It's just me working on the code and my online 
connection is intermittent so I decided to create my repo locally. I'm not 
subscribed so please include my email in your reply.
 
Thanks, David
 


Re: newbie cant import files into repo

2014-07-15 Thread Rich Shepard

On Tue, 15 Jul 2014, frank ernest wrote:


Hi, I created a repo using svnadmin create in a dir called trunk (that's
what your supposed to do, right?) The operation succeeded but the files
that I want to version (c source which I should have versioned long ago.)
I can't seem to add to the repo. When the code is ready for alpha release
I plan to host it on source forge but until then It's just me working on
the code and my online connection is intermittent so I decided to create
my repo locally. I'm not subscribed so please include my email in your
reply.


David,

  What command did you use to create the repository? Did that directory
exist prior to running 'svnadmin create'?

  What syntax are you using to import the source code into the repository?

Rich


Re: subscribe and Post

2014-07-15 Thread Andreas Stieger
Hi,

 On 15 Jul 2014, at 13:53, Manjunath Kashyap mail2manjukash...@gmail.com 
 wrote:
 
 Is there a necessity to fix the Master SVN repository since we have tons of 
 svn loads which have by passed the svn prop validation.

Yes, if you intend the revisions to go through commits and hence revision 
property validation. Alternatively, use dumps or hotcopies and svnsync init 
with --allow-non-empty.

 We have even tried to fix the repository, but the fix fails due to the below 
 errors,
 
 svnadmin: E185001: Svndiff contains a too-large window
 
  svnadmin: E140001: zlib (uncompress): corrupt data: Decompression of svndiff 
 data failed
 
Check your slave versions are compatible.
 Please let me know if these errors occur while svnsync.
 
If the question was if these messages are expected for a good setup: no.

 Are there any pre-requisites which needs to be checked before going forward?
 
Revision properties of past revisions that pass validation, or a slave creation 
bypassing same.

With kind regards,
Andreas Stieger


Re: newbie cant import files into repo

2014-07-15 Thread Ryan Schmidt

On Jul 15, 2014, at 10:26 AM, frank ernest wrote:

 Hi, I created a repo using svnadmin create in a dir called trunk (that's what 
 your supposed to do, right?) 

No, you svnadmin create your repositories in a central place on your server. 
Then you configure your Subversion server (svnserve or mod_dav_svn) to serve 
those repositories. Then you import code into those repositories via the URLs 
exposed by your Subversion server. This and other basics of Subversion should 
be amply described in the SVN Book at http://svnbook.org/

Re: Clarifying Repository Setup and Initial Import

2014-07-15 Thread Ryan Schmidt

On Jul 14, 2014, at 11:21 AM, Rich Shepard wrote:

 When I run 'svnlook info file:///home/rshepard/development/svn-repos/'
 this error is reported:
 
 svnlook: E02: Can't open file
 'file:/home/rshepard/development/svn-repos/format': No such file or
 directory
 
 Yet, that file is present:
 
 ls svn-repos/
 README.txt  conf/  db/  project-A/  format  hooks/  locks/  project-B/
 
 Is this error generated because I've not yet imported either project?

The svn command accepts URLs, but the svnlook command requires paths, not 
URLs.

svnlook info /home/rshepard/development/svn-repos/