Mailing List

2017-05-17 Thread Reynolds, Kenneth W CIV DFAS ZTA (US)
Can you please add me to the mailing list to know when new versions or patches 
are released.

V/R

Ken


Re: Error running make for subversion

2017-05-17 Thread Ryan Schmidt

> On May 17, 2017, at 19:41, Ryan Schmidt  
> wrote:
> 
> 
>> On May 16, 2017, at 17:18, Daniel Shahaf  wrote:
>> 
>> Joseph, Anselm wrote on Tue, May 16, 2017 at 21:04:57 +:
>>> chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or 
>>> directory in the path name does not exist.
>>> apxs:Error: Command failed with rc=65536
>> 
>> Note that if you use svn:// or svn+ssh://, you don't need mod_dav_svn
>> and can disable building it with --without-apxs to configure.
> 
> You mean http:// and https://. mod_dav_svn isn't involved with svn:// or 
> svn+ssh://.
> 

And, sorry, I mis-parsed your sentence. Never mind.



Re: Error running make for subversion

2017-05-17 Thread Ryan Schmidt

> On May 16, 2017, at 17:18, Daniel Shahaf  wrote:
> 
> Joseph, Anselm wrote on Tue, May 16, 2017 at 21:04:57 +:
>> chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or 
>> directory in the path name does not exist.
>> apxs:Error: Command failed with rc=65536
> 
> Note that if you use svn:// or svn+ssh://, you don't need mod_dav_svn
> and can disable building it with --without-apxs to configure.

You mean http:// and https://. mod_dav_svn isn't involved with svn:// or 
svn+ssh://.



RE: Error running make for subversion

2017-05-17 Thread Joseph, Anselm
Thank you Daniel,
I ran ./configure --without-apxs and make install completed successfully.
CC='gcc' CPP='gcc -E' ./configure --prefix=/opt/eai/ci/subversion-1.9.5/svn 
--without-apxs --with-apr=/opt/eai/ci/httpd2.2.32/srclib/apr/apr-1-config 
--with-apr-util=/opt/eai/ci/httpd-2.2.32/srclib/apr-util/apu-1-config 
--disable-nls

-Original Message-
From: Daniel Shahaf [mailto:d...@daniel.shahaf.name] 
Sent: Tuesday, May 16, 2017 6:18 PM
To: Joseph, Anselm
Cc: users@subversion.apache.org
Subject: Re: Error running make for subversion

CAUTION - EXTERNAL EMAIL



Joseph, Anselm wrote on Tue, May 16, 2017 at 21:04:57 +:
> chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or 
> directory in the path name does not exist.
> apxs:Error: Command failed with rc=65536

Note that if you use svn:// or svn+ssh://, you don't need mod_dav_svn and can 
disable building it with --without-apxs to configure.

I don't have time to look into the actual problem right now, sorry.



Re: "svn status" does not show unversioned items been deleted but not committed

2017-05-17 Thread Branko Čibej
On 17.05.2017 19:50, Andrey wrote:
> As a result, for example, you can not say by "svn status" command
> which file you forgot to add.
>
> Reproduction batch script for windows:
> ```
> @echo off
>
> set REPODIR=test_repo
> set "REPOROOT=%~dp0%REPODIR%"
> set "REPOURL=file:///%REPOROOT:\=/%"
> set WCROOT=%REPODIR%_root
>
> if exist "%REPOROOT%\" rmdir /S /Q "%REPOROOT%"
> if exist "%WCROOT%\" rmdir /S /Q "%WCROOT%"
>
> mkdir "%REPOROOT%"
> svnadmin create "%REPOROOT%"
> mkdir "%WCROOT%"
>
> svn co "%REPOURL%" "%WCROOT%"
>
> rem creating simple file
> type nul > "%WCROOT%/file1.txt"
> svn add "%WCROOT%/file1.txt"
> svn ci "%WCROOT%" -m "rev1"
>
> rem update to the head
> svn up "%WCROOT%"
>
> rem add new file to the directory but do not add it to the version
> control
> type nul > "%WCROOT%/file2.txt"
>
> rem test status
> echo --- svn status 1 ---
> svn status "%WCROOT%"
> echo ---
>
> rem rename file
> svn mv "%WCROOT%/file1.txt" "%WCROOT%/file_bubbles.txt" || goto :EOF
>
> rem add a new file instead
> type nul > "%WCROOT%/file1.txt"
>
> rem test status again
> echo --- svn status 2 ---
> svn status "%WCROOT%"
> echo ---
>
> rem after this point the status output missed file1.txt file as
> unversioned file in the listing
> ```
>
> The script output:
> ```
> Checked out revision 0.
> A test_repo_root\file1.txt
> Adding test_repo_root\file1.txt
> Transmitting file data .done
> Committing transaction...
> Committed revision 1.
> Updating 'test_repo_root':
> At revision 1.
> --- svn status 1 ---
> ?   test_repo_root\file2.txt
> ---
> A test_repo_root\file_bubbles.txt
> D test_repo_root\file1.txt
> --- svn status 2 ---
> D   test_repo_root\file1.txt
> > moved to test_repo_root\file_bubbles.txt
> ?   test_repo_root\file2.txt
> A  +test_repo_root\file_bubbles.txt
> > moved from test_repo_root\file1.txt
> ---
> ```
>
> As you see the file1.txt is missed in second status output as
> unversioned and so can be missed from add before a commit.

It's not unversioned, it's in the "deleted" state. You can't have both,
since you can revert the deletion.

-- Brane


Re: "svn pget svn:externals -r . -R" dramatically slow

2017-05-17 Thread Johan Corveleyn
On Tue, May 16, 2017 at 11:42 PM, Andry  wrote:
> Hello Users,
>
> Original issue: https://issues.apache.org/jira/browse/SVN-4681
>
> Just discovered a really strange case where exactly titled command bring 
> really slow response.
>
> The repository contains more than 1000 revisions. The WC is in the middle, 
> say at rev 1193 (the current), the show log shows 1191 at the last revision, 
> the HEAD revision say 1300.
> Trying to cd into WC directory and run the command. Needs about 1 minute  to 
> wait it's response. The Process Hacker shows traffic with the server up to 
> about 2MB.
>
> If try to run command w/o -R flag - command returns immediately.
>
> The content of the externals property without the -R flag is:
> https://domain.ab/svn/proj2/trunk - ^/../proj3/trunk/cmake cmake_proj3
> ^/solutions/project1/sdk proj2-sdk
>
> The content of the externals property with the -R flag is:
> https://domain.ab/svn/proj2/trunk - ^/../proj3/trunk/cmake cmake_proj3
> ^/solutions/project1/sdk proj2-sdk
> https://domain.ab/svn/proj2/trunk/proj2-gui -
> https://domain.ab/svn/proj2/trunk/proj2-gui/lib/Resource/Files -
>
> I think the 2 last records draws the svn mad and it begin to crawl the server 
> for something for about 1 minute.
>
> I tries variations of the command. For example all these having the same 
> result as above:
> svn pget svn:externals -r "1193" "https://domain.ab/svn/proj2/trunk"; -R 
> --non-interactive
> svn pget svn:externals -r "1193" "https://domain.ab/svn/proj2/trunk@1193"; -R 
> --non-interactive
> svn pget svn:externals "https://domain.ab/svn/proj2/trunk@1193"; -R 
> --non-interactive
>
> Dig a bit further and found this:
> svn info https://domain.ab/svn/proj2/trunk/proj2-gui
> svn: warning: W17: URL 'https://domain.ab/svn/proj2/trunk/proj2-gui' 
> non-existent in revision 1300
> svn: E29: Could not display info for all targets because some targets 
> don't exist
>
> Seems the 2 last records reference URL's what does not exist anymore in the 
> HEAD.
>
> These 2 records are left after an upgrade from a previous version of 
> database, but why is the svn runs so slow about it? Anyway, i can't just 
> cleanup the externals because they are from 3dparty repository in which i 
> have no access.

Thanks for bringing the issue here to the list.

First a couple questions to get our context right: what version of svn
on the client and on the server? Is there a slow network between
client and server, or are they on the same LAN?

Just as background: svn:externals definitions can also optionally take
a peg revision (the @REV notation) [1], [2]. Maybe in the future you
can use the peg revision syntax to avoid this problem of the "external
source" disappearing at some point in history.

[1] http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html
[2] http://svnbook.red-bean.com/nightly/en/svn.advanced.pegrevs.html

-- 
Johan


"svn status" does not show unversioned items been deleted but not committed

2017-05-17 Thread Andrey
As a result, for example, you can not say by "svn status" command which  
file you forgot to add.


Reproduction batch script for windows:
```
@echo off

set REPODIR=test_repo
set "REPOROOT=%~dp0%REPODIR%"
set "REPOURL=file:///%REPOROOT:\=/%"
set WCROOT=%REPODIR%_root

if exist "%REPOROOT%\" rmdir /S /Q "%REPOROOT%"
if exist "%WCROOT%\" rmdir /S /Q "%WCROOT%"

mkdir "%REPOROOT%"
svnadmin create "%REPOROOT%"
mkdir "%WCROOT%"

svn co "%REPOURL%" "%WCROOT%"

rem creating simple file
type nul > "%WCROOT%/file1.txt"
svn add "%WCROOT%/file1.txt"
svn ci "%WCROOT%" -m "rev1"

rem update to the head
svn up "%WCROOT%"

rem add new file to the directory but do not add it to the version control
type nul > "%WCROOT%/file2.txt"

rem test status
echo --- svn status 1 ---
svn status "%WCROOT%"
echo ---

rem rename file
svn mv "%WCROOT%/file1.txt" "%WCROOT%/file_bubbles.txt" || goto :EOF

rem add a new file instead
type nul > "%WCROOT%/file1.txt"

rem test status again
echo --- svn status 2 ---
svn status "%WCROOT%"
echo ---

rem after this point the status output missed file1.txt file as  
unversioned file in the listing

```

The script output:
```
Checked out revision 0.
A test_repo_root\file1.txt
Adding test_repo_root\file1.txt
Transmitting file data .done
Committing transaction...
Committed revision 1.
Updating 'test_repo_root':
At revision 1.
--- svn status 1 ---
?   test_repo_root\file2.txt
---
A test_repo_root\file_bubbles.txt
D test_repo_root\file1.txt
--- svn status 2 ---
D   test_repo_root\file1.txt
> moved to test_repo_root\file_bubbles.txt
?   test_repo_root\file2.txt
A  +test_repo_root\file_bubbles.txt
> moved from test_repo_root\file1.txt
---
```

As you see the file1.txt is missed in second status output as unversioned  
and so can be missed from add before a commit.


--
Написано с помощью почтового клиента Opera: http://www.opera.com/mail/


Re: Facing issues in Enable editing log messages.

2017-05-17 Thread Eric Johnson
The failures shown in your screenshot are due to authentication, and appear
to be unrelated to Subversion. It would appear that the csvn user is either
an invalid user or you have the wrong password.

Eric.

On Wed, May 17, 2017 at 3:26 AM, Ramamurthy, Manochitra <
mramamur...@intevaproducts.com> wrote:

> Hi Team,
>
>
>
> Greetings !
>
>
>
> I’m unsure whom to contact I found this mailing address when I do search
> for this issue.
>
>
>
> I have joined this organization INTEVA before few months and taking of
> SVN. I have query regarding Enable editing log messages in SVN which I have
> no clue on it. But just googling I followed below steps but no luck.
>
>
>
> · Created “pre-revprop-change” hook under hooks directory.
>
> · Added below script in it.
>
> ---SNIP---
>
> REPOS="$1"
>
> REV="$2"
>
> USER="$3"
>
> PROPNAME="$4"
>
> if [ "$PROPNAME" = "svn:log" ]; then exit 0; fi
>
> if [ "$PROPNAME" = "svn:date" ]; then exit 0; fi
>
> exit 1
>
> ---SNIP---
>
>
>
> Pasted from 
>
> · Executed this svn propset -r * revision no* --revprop svn:log
> new message *URL*
>
>
>
>
>
> Please assist me or point me to someone who can help me.
>
>
>
> Thanks,
>
> *Mano*
>
> +91 8046552670 <+91%2080%204655%202670>
>
> Available from 10am to 5pm IST
>
>
>
>
>


Facing issues in Enable editing log messages.

2017-05-17 Thread Ramamurthy, Manochitra
Hi Team,

Greetings !

I'm unsure whom to contact I found this mailing address when I do search for 
this issue.

I have joined this organization INTEVA before few months and taking of SVN. I 
have query regarding Enable editing log messages in SVN which I have no clue on 
it. But just googling I followed below steps but no luck.


* Created "pre-revprop-change" hook under hooks directory.

* Added below script in it.

---SNIP---

REPOS="$1"

REV="$2"

USER="$3"

PROPNAME="$4"

if [ "$PROPNAME" = "svn:log" ]; then exit 0; fi

if [ "$PROPNAME" = "svn:date" ]; then exit 0; fi

exit 1

---SNIP---



Pasted from 

* Executed this svn propset -r * revision no* --revprop svn:log new 
message *URL*



[cid:image001.png@01D2CF25.97263990]


Please assist me or point me to someone who can help me.

Thanks,
Mano
+91 8046552670
Available from 10am to 5pm IST