Re: Subversion DB gotinto invalid state, and can't be fixed by 'svn cleanup'

2017-11-16 Thread Daniel Shahaf
Yuri wrote on Wed, 15 Nov 2017 08:42 -0800:
> I had the directory sysutils/fd added locally (svn add). Then I 
> accidentally removed it (rm -rf sysutils/fd) and updated from the 
> central repository because somebody else committed it. After this, it 
> just keeps printing errors no matter what I do. cleanup and revert don't 
> help.

Reproduced in trunk:

% svnadmin create r
% svn co file://$PWD/r wc
Checked out revision 0.
% mkdir wc/A
% touch wc/A/mu
% svn add wc/A 
% svnmucc -U file://$PWD/r -m r1 mkdir A put /dev/null A/mu 
% rm -rf wc/A 
% svn up wc 
Updating 'wc':
Awc/A
Awc/A/mu
subversion/svn/update-cmd.c:176,
subversion/libsvn_client/update.c:782,
subversion/libsvn_client/update.c:668,
subversion/libsvn_client/update.c:508,
subversion/libsvn_wc/adm_crawler.c:859,
subversion/libsvn_repos/reporter.c:1573,
subversion/libsvn_repos/reporter.c:1483,
subversion/libsvn_repos/reporter.c:1475,
subversion/libsvn_repos/reporter.c:1413,
subversion/libsvn_repos/reporter.c:1350,
subversion/libsvn_repos/reporter.c:1061,
subversion/libsvn_wc/update_editor.c:2813,
subversion/libsvn_wc/workqueue.c:1552: (apr_err=SVN_ERR_WC_BAD_ADM_LOG)
svn: E155009: Failed to run the WC DB work queue associated with 
'/tmp/tmp.YqemzT8MEI/wc/A', work item 1 (file-install A/mu 1 0 1 1)
subversion/libsvn_wc/workqueue.c:1443,
subversion/libsvn_wc/workqueue.c:512: (apr_err=SVN_ERR_WC_CORRUPT_TEXT_BASE)
svn: E155017: Can't install '/tmp/tmp.YqemzT8MEI/wc/A/mu' from pristine store, 
because no checksum is recorded for this file
zsh: exit 1


Re: Setting up VisualSVN server - how to integrate to existing Apache

2017-11-16 Thread Pavel Lyalyakin
Hello Bo,

On Thu, Nov 16, 2017 at 12:37 AM, Bo Berglund  wrote:
>
> I started to install an SVN server on my Windows7 PC using VisualSVN.

Don't miss the Getting Started guide that should walk you through the
installation and initial configuration steps:
https://www.visualsvn.com/server/getting-started/

> But I did not get an option to install using svnserve, so I think it

VisualSVN Server does not support `svnserve`.

> will try to install Apache on my PC.
> But I already run Apache on it (2.2.22 and I don't want the SVN test
> server to overwrite the existing Apache...
> How can I install SVN server on Windows 7 without using Apache or let
> VisualSVN integrate itself to the existing Apache?
>
>
> --
> Bo Berglund
> Developer in Sweden

VisualSVN Server can be installed side-by-side with Apache HTTP Server
on the same server computer. There should be no issues. Just make sure
that you select an available server port in the installation wizard.
Note that you do not need to configure manually configure or setup the
Apache that comes with VisualSVN Server.

--
With best regards,
Pavel Lyalyakin
VisualSVN Team


Re: Setting up VisualSVN server - how to integrate to existing Apache

2017-11-16 Thread Bo Berglund
On Thu, 16 Nov 2017 19:10:14 +0300, Pavel Lyalyakin
 wrote:

>On Thu, Nov 16, 2017 at 12:37 AM, Bo Berglund  wrote:
>>
>> I started to install an SVN server on my Windows7 PC using VisualSVN.
>
>Don't miss the Getting Started guide that should walk you through the
>installation and initial configuration steps:
>https://www.visualsvn.com/server/getting-started/
>

Thanks, I had not seen this useful page.

>> But I did not get an option to install using svnserve, so I think it
>
>VisualSVN Server does not support `svnserve`.

On the SVN pages I saw mention that svnserve would be a faster way to
access the svn server, but at the same time not as versatile as via
Apache.

>
>> But I already run Apache on it (2.2.22 and I don't want the SVN test
>> server to overwrite the existing Apache...
>> How can I install SVN server on Windows 7 without using Apache or let
>> VisualSVN integrate itself to the existing Apache?
>
>VisualSVN Server can be installed side-by-side with Apache HTTP Server
>on the same server computer. There should be no issues. Just make sure
>that you select an available server port in the installation wizard.

So my existing Apache 2.2.22 installation will remain as-is and the
one that comes with VisualSVN will be another service working on
another port?

>Note that you do not need to configure manually configure or setup the
>Apache that comes with VisualSVN Server.

Does this mean that there are GUI tools for andministering such things
as path dependent permissions and user accounts?

I need to import a lot of projects, which were managed by CVSNT in
separate repositories (for user permission reasons). It looks likely I
will put them all into a single SVN repository as top-level projects,
or else in projects located in subdirectories named as the old
repositories used (i.e one level down).
What is your advice regarding the procedure to get the CVSNT projects
into VisualSVN?

-- 
Bo Berglund
Developer in Sweden



Re: Subversion DB gotinto invalid state, and can't be fixed by 'svn cleanup'

2017-11-16 Thread Yuri

On 11/16/17 06:28, Daniel Shahaf wrote:

Yuri wrote on Wed, 15 Nov 2017 08:42 -0800:

I had the directory sysutils/fd added locally (svn add). Then I
accidentally removed it (rm -rf sysutils/fd) and updated from the
central repository because somebody else committed it. After this, it
just keeps printing errors no matter what I do. cleanup and revert don't
help.

Reproduced in trunk:


The solution I found is manual deletion from SQLite3 table, which should 
never be the case. 'svn cleanup' should do it.


Yuri




Re: SVN server email notification function (SMTP) and How To configure it

2017-11-16 Thread Johan Corveleyn
Another suggestion: https://github.com/qazwart/SVN-Watcher-Hook

I've used a custom version of that (perl) hook script. It allows your
users to control their own "watch file" (in the svn repository
itself), which is a simple config file containing patterns etc. for
which they want to receive post-commit mails.

It's not a GUI, but it's great that users can edit their own watch
file (with a very simple syntax), so they don't have to bother a
sysadmin to customize their notifications.

-- 
Johan