AW: TortoiseSVN

2012-02-08 Thread Markus Schaber
Hi, Prabhakar,

Von: Prabhakar [mailto:prabhakar.pione...@gmail.com] 
> TortoiseSVN newer than 1.6.16 causes errors in our software build process

Some suggestions:

-> If you're sure that it's TortoiseSVN, you should maybe write to the 
TortoiseSVN list instead of the general subversion list.

-> You should include some details, like what kind of software build process it 
is (like: Do you build TortoiseSVN yourself, or do you use TortoiseSVN in your 
build process? Is it automated or manual?) and what are the exact errors it 
causes.

A general remark: TortoiseSVN is a windows explorer extension. For a software 
build process, I'd expect to use the Subversion command line clients, or more 
specialized tools like Apache Maven.

Best regards

Markus Schaber
-- 
___
We software Automation.

3S-Smart Software Solutions GmbH
Markus Schaber | Developer
Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 | Fax 
+49-831-54031-50

Email: m.scha...@3s-software.com | Web: http://www.3s-software.com 
CoDeSys internet forum: http://forum.3s-software.com
Download CoDeSys sample projects: 
http://www.3s-software.com/index.shtml?sample_projects

Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade 
register: Kempten HRB 6186 | Tax ID No.: DE 167014915 


Re: TortoiseSVN

2012-02-08 Thread Thorsten Schöning
Guten Tag Prabhakar,
am Dienstag, 7. Februar 2012 um 21:09 schrieben Sie:

> TortoiseSVN newer than 1.6.16 causes errors in our software build process

If you didn't sent your mail too soon accidently, this may help you:

http://catb.org/esr/faqs/smart-questions.html

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning   E-Mail:thorsten.schoen...@am-soft.de
AM-SoFT IT-Systeme  http://www.AM-SoFT.de/

Telefon.030-2 1001-310
Fax...05151-  9468- 88
Mobil..0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hanover HRB 207 694 - Geschäftsführer: Andreas Muchow



mismatched merges

2012-02-08 Thread Hoefakker, Paul
Hello,

We are using:
SVN client 1.6.13 on windows
SVN server 1.6.12 as server

We are looking for a solution of next issue:
If we make a selective merge from our trunk to a subbranch and changes are made 
on the end of a file also changes which were not made in the selected revision 
range are taken over. (All changes on the end of file are taken over).

Is this a known issue and is there a possibility to prevent this?  In our case 
in trunk some new functions where created at the end of a C++module file. After 
a while a new function to resolve a bug was added at the end. In the merge only 
the last change (bug solution) was selected. In the branches where the merge 
was made also the other functions where merged.


With best regards / Mit freundlichen Grüßen,


P. G. Hoefakker
Consultant / Berater


inconso AG
Speicher 1
Konsul-Smidt-Str. 8j
28217 Bremen
Tel: +49 421 20762-2377
Fax: +49 421 20762130
mailto:phoefak...@inconso.de

28. - 29.02.2012
SAP EWM - der leistungsstarke Standard für die Lagerverwaltung
Besuchen Sie den inconso Workshop in Bad Schönborn und Hannover
Weitere Informationen unter http://www.inconso.de/events

inconso AG
Dieselstr. 1 - 7
61231 Bad Nauheim
Tel: +49 6032 348-0
Fax: +49 6032 348-100
mailto:m...@inconso.de
www.inconso.de

Vorstand
Bertram Salzinger (Vors.)
Thomas Gries
Wilfried Pfuhl
Dr. Gerd WintermeyerAufsichtsratsvorsitzender
Prof. Dr. Dr. h.c. (MEX)
Joachim Berendt Amtsgericht Friedberg
HRB 5632Finanzamt Gießen
USt-IdNr.
DE220437254



Re: mismatched merges

2012-02-08 Thread Stefan Sperling
On Wed, Feb 08, 2012 at 10:45:56AM +, Hoefakker, Paul wrote:
> Hello,
> 
> We are using:
> SVN client 1.6.13 on windows
> SVN server 1.6.12 as server
> 
> We are looking for a solution of next issue:
> If we make a selective merge from our trunk to a subbranch and changes are 
> made on the end of a file also changes which were not made in the selected 
> revision range are taken over. (All changes on the end of file are taken 
> over).
> 
> Is this a known issue and is there a possibility to prevent this?  In our 
> case in trunk some new functions where created at the end of a C++module 
> file. After a while a new function to resolve a bug was added at the end. In 
> the merge only the last change (bug solution) was selected. In the branches 
> where the merge was made also the other functions where merged.

Hi Paul,

I wonder if you got a conflict during the merge?

Please read http://svn.haxx.se/users/archive-2011-10/0832.shtml
It explains a problem that sounds similar to yours. But I am not
sure if it is the exact same situation.

Are you really sure that Subversion was correctly told which changes
should be merged? Instead of describing your interpretation of what
happened, can you show which commands were used with which parameters,
and what the resulting output was? You may replace sensitive data like
names and paths in the output. Preparing this might take a bit more work
than writing a short email. But in a forum such as this it is a lot more
effective because people cannot look at your monitor from over here ;)


Webpage issue

2012-02-08 Thread sureshkumar nandakumar
Hi

When we are trying to access SVN in Internet explorer we are getting
below error. Once we re-started the Service i can able to access it..
This is happening only in Morning time. we are getting this issue for
past 5days.
This is happening for all users.

i have tried with other browsers(Chrome,Internet Explorer,etc..) same
issue Persisting

Can anyone please advise me, why this issue is happening?
How i can fix this issue permanently.

Error:

This Webpage is not available.
ERROR 324 (Net::ERR_EMPTY_RESPONSE): Unknown error
The webpage at http://10.10.34.45:80/ might be temporarly down or
it may have moved permanently to a new address.


Problem with commit error

2012-02-08 Thread Markus Schaber
Hi!

I've got an error with commits in working copies containing copied subtrees.

I'm using SharpSVN, which internally calls svn_client_commit_5().

The error message is: \CoDeSys_Control_RTE_V3\Plc Logic\Application\Task 
Configuration\MainTask' is not under version control and is not part of the 
commit, yet its child '\CoDeSys_Control_RTE_V3\Plc Logic\Application\Task 
Configuration\MainTask\svnobj' is part of the commit

The error code is SVN_ERR_ILLEGAL_TARGET.

However, the list of pathes, as seen in the debugger, clearly contains both 
MainTask and its child svnobj:
[0]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\CoDeSys_Control_RTE_V3"
[1]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\CoDeSys_Control_RTE_V3\\svnobj"
[2]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\CoDeSys_Control_RTE_V3\\Plc
 Logic"
[3]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\CoDeSys_Control_RTE_V3\\Plc
 Logic\\svnobj"
[4]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\CoDeSys_Control_RTE_V3\\Plc
 Logic\\Application"
[5]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\CoDeSys_Control_RTE_V3\\Plc
 Logic\\Application\\svnobj"
[6]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\CoDeSys_Control_RTE_V3\\Plc
 Logic\\Application\\Library Manager"
[7]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\CoDeSys_Control_RTE_V3\\Plc
 Logic\\Application\\Library Manager\\svnobj"
[8]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\CoDeSys_Control_RTE_V3\\Plc
 Logic\\Application\\PLC_PRG"
[9]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\CoDeSys_Control_RTE_V3\\Plc
 Logic\\Application\\PLC_PRG\\svnobj"
[10]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\CoDeSys_Control_RTE_V3\\Plc
 Logic\\Application\\Task Configuration"
[11]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\CoDeSys_Control_RTE_V3\\Plc
 Logic\\Application\\Task Configuration\\svnobj"
[12]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\CoDeSys_Control_RTE_V3\\Plc
 Logic\\Application\\Task Configuration\\EtherCAT_Master"
[13]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\CoDeSys_Control_RTE_V3\\Plc
 Logic\\Application\\Task Configuration\\EtherCAT_Master\\svnobj"
[14]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\CoDeSys_Control_RTE_V3\\Plc
 Logic\\Application\\Task Configuration\\MainTask"
[15]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\CoDeSys_Control_RTE_V3\\Plc
 Logic\\Application\\Task Configuration\\MainTask\\svnobj"
[16]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\Device\\Plc
 Logic\\Application\\Task Configuration"
[17]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\Device\\Plc
 Logic\\Application\\Task Configuration\\svnobj"
[18]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\Device\\Plc
 Logic\\Application\\Task Configuration\\EtherCAT_Master"
[19]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\Device\\Plc
 Logic\\Application\\Task Configuration\\EtherCAT_Master\\svnobj"
[20]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\Device\\Plc
 Logic\\Application\\Task Configuration\\MainTask"
[21]: 
"C:\\Users\\m.schaber\\AppData\\Local\\Temp\\CoDeSys.SVN\\qzzctczf.1cg.svnwc\\Device\\Plc
 Logic\\Application\\Task Configuration\\MainTask\\svnobj"

The commit depth was given as "infinity".

Examining the directory from the command line gives the following:

C:\Users\m.schaber\AppData\Local\Temp\CoDeSys.SVN\qzzctczf.1cg.svnwc - Kopie 
(3)>svn status
MK  Device\Plc Logic\Application\Task Configuration\EtherCAT_Master\svnobj
A   CoDeSys_Control_RTE_V3
A   CoDeSys_Control_RTE_V3\svnobj
A   CoDeSys_Control_RTE_V3\Plc Logic
A   CoDeSys_Control_RTE_V3\Plc Logic\svnobj
A   CoDeSys_Control_RTE_V3\Plc Logic\Application
A   CoDeSys_Control_RTE_V3\Plc Logic\Application\Library Manager
A   CoDeSys_Control_RTE_V3\Plc Logic\Application\Library Manager\svnobj
A   CoDeSys_Control_RTE_V3\Plc Logic\Application\svnobj
A  +CoDeSys_Control_RTE_V3\Plc Logic\Application\PLC_PRG
A  +CoDeSys_Control_RTE_V3\Plc Logic\Application\PLC_PRG\svnobj
A  +CoDeSys_Control_RTE_V3\Plc Logic\Application\Task Configuration
 M +CoDeSys_Control_RTE_V3\Plc Logic\Application\Task Configuration\svnobj
MM +CoDeSys_Control_RTE_V3\Plc Logic\Application\Task 
Configuration\MainTask\svnobj
MM +   

SVN binaries?

2012-02-08 Thread yucca nel
Hello 
I am looking for current SVN binaries and would like to know who I can contact 
to suggest binary releases for SVN? 

I enjoy most apache projects like Tomcat, Maven,  etc.
A binary would aid me (and other script authors) in creating scripts for 
universal Linux as apposed to specific Versions.

Currently I am working hard on a scripts that installs most of what you need to 
develop with on a Linux system, with major support for a VirtualBox
development environment.  I believe (my opinion), it’s just not possible for a 
web developer to be tied down to a single system anymore. 
I use a dual development environment with VirtualBox, which allows me to 
harvest the benefits of two systems running together. My current development 
environment
on Windows 7 ultimate, allows me to test and make use of the following 
technologies : IE6, IE7, IE8, IE9, Opera, Safari, Tomcat, JetBrains IDEA, 
Photoshop, Gimp, Konqueror, 
Tomcat, Maven, NetBeans (when my IDEA license expires), Tortoise SVN (a tool 
that I don’t really need) as I will explain below.

Virtualization is the only solution I have found currently that allows me to 
keep all my options open. 

I switch to Linux as it meets my needs for bash scripts, and to test Konqueror. 

My goal is to bring host and guest systems together through means of Shared 
Folders in VirtualBox as apposed to installing tools that I already have on 
the host system. Currently I can use Tortoise svn to create a repo on my host 
and share it to guest as I do with other apache products like Maven, Tomcat, 
etc...

Currently I have this:
=
#!/bin/bash
#Author: Yucca Nel http://thejarbar.org
#Will restart system
#Modify these variables as needed...
tempWork=/tmp/work
defaultStartScript=/etc/init.d/rc.local
locBin=/usr/local/bin
javaUsrLib=/usr/lib/jvm
defaultMaven=3.0.4
defaultNetBeansVer=7.1
mavenUsrLib=/usr/lib/maven
defaultIDEA=11.0.1

sudo mkdir -p $javaUsrLib
mkdir -p $tempWork
sudo mkdir -p $mavenUsrLib
mkdir -p $HOME/.m2
mkdir -p $HOME/SVN

cd $tempWork

#Update this line to reflect newer versions of JDK...
wget 
http://download.oracle.com/otn-pub/java/jdk/7u2-b13/jdk-7u2-linux-i586.tar.gz

#Extract the download
tar -zxvf $tempWork/*
rm -rf $tempWork/*.gz

#Move it to where it can be found...
sudo mv -f $tempWork/* $javaUsrLib/
export JAVA_HOME="$javaUsrLib/jdk1.7.0_02"

sudo ln -f -s $javaUsrLib/jdk1*/bin/* /usr/bin/
rm -rf $tempWork/*
#Update this line to reflect newer versions of JDK...

if ! grep "JAVA_HOME=$javaUsrLib/jdk1.7.0_02" /etc/environment
then
echo "JAVA_HOME=$javaUsrLib/jdk1.7.0_02" | sudo tee -a /etc/environment
fi

source /etc/environment

read -p "Please [Enter] full path name of your local startup script 
($defaultStartScript is the default). Please
make sure on this before providing a value by consulting documentation for your 
system:" locStartScript
locStartScript=${locStartScript:-$defaultStartScript}

read -p "Please [Enter] Maven Version ($defaultMaven is default):" mavenVersion
mavenVersion=${mavenVersion:-$defaultMaven}

read -p "Please [Enter] NetBeans Version ($defaultNetBeansVer is default):" 
netbeansVersion
netbeansVersion=${netbeansVersion:-$defaultNetBeansVer}

read -p "Please [Enter] IDEA Version ($defaultIDEA is default):" ideaVersion
ideaVersion=${ideaVersion:-$defaultIDEA}


if [ ! -f $locStartScript ]
then
echo "The file you provided could not be found. Remember to include the full 
path and try again. Exiting in 7 secs..."
sleep 7
exit 1
fi

wget 
http://mirrors.powertech.no/www.apache.org/dist//maven/binaries/apache-maven-$mavenVersion-bin.tar.gz
tar -zxvf $tempWork/*
rm -rf $tempWork/*.gz

#Move it to a more logical location
sudo mv -f $tempWork/apache-maven-$mavenVersion $mavenUsrLib/
rm-rf $tempWork/*
sudo ln -f -s $mavenUsrLib/apache-maven-$mavenVersion/bin/* /usr/bin/

#If you have Maven on Windows and use VirtualBox, you can set up the maven to 
be a virtualbox shared folder.
#The name must match the name used below (ignore if irrelevant to you).


if [ -f /sbin/mount.vboxsf ]
then
sudo /sbin/umount $HOME/.m2
sudo /sbin/umount $mavenUsrLib
sudo /sbin/mount.vboxsf .m2 $HOME/.m2
sudo /sbin/mount.vboxsf maven $mavenUsrLib
fi

if mountpoint -q $HOME/.m2 &&  mountpoint -q $mavenUsrLib
then
#Add it to the start script to automate process...
if ! grep "sudo /sbin/mount.vboxsf .m2 $HOME/.m2" $locStartScript
then
echo "sudo /sbin/mount.vboxsf .m2 $HOME/.m2" | sudo tee -a $locStartScript
fi

if ! grep "sudo /sbin/mount.vboxsf maven $mavenUsrLib" $locStartScript
then
echo "sudo /sbin/mount.vboxsf maven $mavenUsrLib" | sudo tee -a $locStartScript
fi
sudo chmod +x $locStartScript

#Create a mount and unmount script file...
rm -rf $tempWork/*
echo '#!/bin/bash' > $tempWork/maven-mount.sh
echo "sudo /sbin/mount.vboxsf .m2 $HOME/.m2" >> $tempWork/maven-mount.sh
echo "sudo /sbin/mount.vboxsf maven $mavenUsrLib" >> $tempWork/maven-mount.sh
echo "echo 'mounted maven'

Re: SVN binaries?

2012-02-08 Thread Andy Levy
On Wed, Feb 8, 2012 at 09:27, yucca nel  wrote:
> Hello
> I am looking for current SVN binaries and would like to know who I can
> contact to suggest binary releases for SVN?

Most, if not all, Linux distributions have pre-built packages in their
own package repositories for Subversion. Why not just use those?

The Subversion project itself (which is what this mailing list is for)
does not officially distribute or endorse any specific binary
packages; the project only distributes source. See
http://subversion.apache.org/packages.html


Re: Problem with commit error

2012-02-08 Thread Stefan Sperling
On Wed, Feb 08, 2012 at 02:11:14PM +, Markus Schaber wrote:
> Hi!
> 
> I've got an error with commits in working copies containing copied subtrees.
> 
> I'm using SharpSVN, which internally calls svn_client_commit_5().
> 
> The error message is: \CoDeSys_Control_RTE_V3\Plc Logic\Application\Task 
> Configuration\MainTask' is not under version control and is not part of the 
> commit, yet its child '\CoDeSys_Control_RTE_V3\Plc Logic\Application\Task 
> Configuration\MainTask\svnobj' is part of the commit
> 
> The error code is SVN_ERR_ILLEGAL_TARGET.
> 

Hi Markus,

This is a known bug.

A fix has been nominated but needs another vote to make 1.7.3.

 * r1146762, r1201419, r1227237, r1227250, r1227352, r1227372, r1227384,
   r1227385, r1239382, r1239631, r1239655, r1239749 
   Fix issue #4059, "can't commit when copy-op-root and copied-along
   grandchild are explicit targets".
   Justification:
 Some copies can't be committed. Users complained.
   Branch:
 ^/subversion/branches/1.7.x-issue4059
   Notes:
 r1146762 avoids a semantic conflict
 r1201419 adds a regression test
 r1227237 is a comment fix
 r1227250 is an indentation fix
 r1227352 is merged to avoid a conflict and improves an error message
 r1227372 is a follow-up test fix for previous
 r1227384 prepares the actual fix and needs --accept=mine-conflict
 r1227385 is the actual fix
 r1239382 fixes the problem for nested copies, too
 r1239631 and r1239655 are follow-up comment fixes
 r1239749 fixes a performance regression on the backport branch
   Votes:
 +1: stsp, rhuijben


Re: SVN binaries?

2012-02-08 Thread Andy Levy
Please reply to all to keep discussion on the mailing list.

On Wed, Feb 8, 2012 at 10:03, yucca nel  wrote:
> Hello and thank you for your reply Andy.
>
> My script is targeted at all Linuxes and svn is not always installed.
> Additionally I hope to aid junior developers with it who typically need to
> go through a ton of documentation to get things set up on their systems.
>
> Using Tomcat or Maven as example,
> I can simply download them and move their installs into '/usr/lib/xxx'
> and symbolically link the bin contents to 'usr/bin'
>
> My Ubuntu does not have svn unless I fetch it from aptitude which is not
> available to
> all Linuxes (or is it?). If

As I wrote in my first post, most if not all Linux distributions
package Subversion & make it available via their repositories. The
exact details of installing them may vary (yum vs. apt-get, etc.) but
if you can detect which distribution you're running on, you can run
the appropriate commands.

Or, just have your script download, compile & install from source.

You can't use a single binary distribution of Subversion because it
depends upon a number of other libraries & components. Whatever binary
distribution of Subversion you might download is compiled against
specific versions of those libraries, and unless it includes all of
them, you may have incompatible versions in the Linux install you're
using. Tomcat & Maven do not have this constraint because they're
largely Java-based, so you just need a compatible version of Java (and
there's more latitude as far as not needing specific versions of
things).

It is best to pull Subversion from your distribution's own package
repository, or compile it yourself from source.

> -Original Message- From: Andy Levy
> Sent: Wednesday, February 08, 2012 3:46 PM
> To: yucca nel
> Cc: users@subversion.apache.org
> Subject: Re: SVN binaries?
>
>
> On Wed, Feb 8, 2012 at 09:27, yucca nel  wrote:
>>
>> Hello
>> I am looking for current SVN binaries and would like to know who I can
>> contact to suggest binary releases for SVN?
>
>
> Most, if not all, Linux distributions have pre-built packages in their
> own package repositories for Subversion. Why not just use those?
>
> The Subversion project itself (which is what this mailing list is for)
> does not officially distribute or endorse any specific binary
> packages; the project only distributes source. See
> http://subversion.apache.org/packages.html


RE: SVN Access on repo Browser

2012-02-08 Thread Waseem Shahzad
Bob

Thanks for your reply.

 

>> You really need to talk to your specific svn admin. 

I am the SVN Admin.

 

>>There are several ways to set up authentication to a subversion
server.

We are using Visual SVN on server Side and Tortoise SVN on Client Side.
Now I have published my IP over the Internet so that it can deploy my
Builds on Server out of my domain. SVN URL is  on Http and we are using
Windows Integrated Authentication.

>>  Are you saying your credentials work in one dialog and not another?

 

When in open Internet Explorer using Below , All work fine. But when I
do the same on 'Repo browser' it failed. That is the main point I want
to know. Please notice that User have full access rights on Visual SVN.

 

URL  http://192.168.0.9/svn/myproject

 

It prompts me for username and password

 

Username - Domain\username

Password - Password123

 

 

Although, I expect LDAP auth won't require you to enter your domain
name... assuming that is what your server is set up to use.

 

 

Cheers, 

Waseem Bukhari

CM - Ext: 506

 

From: Bob Archer [mailto:bob.arc...@amsi.com] 
Sent: Tuesday, February 07, 2012 2:13 PM
To: Waseem Shahzad; users@subversion.apache.org
Subject: RE: SVN Access on repo Browser

 

You really need to talk to your specific svn admin. There are several
ways to set up authentication to a subversion server. Are you saying
your credentials work in one dialog and not another?

 

Although, I expect LDAP auth won't require you to enter your domain
name... assuming that is what your server is set up to use.

 

BOb

 

 

From: Waseem Shahzad [mailto:waseem.shah...@curemd.com] 
Sent: Tuesday, February 07, 2012 10:04 AM
To: users@subversion.apache.org
Subject: SVN Access on repo Browser

 

Question

I have published my SVN repository on
Internet/Server that are out of my domain. URL is being Opened and
working. When I open the same URL in repo browser , It failed. Why?

 

Suppose

   My url is

 

http://192.168.0.9/svn/myproject

 

It prompts me for username and password

 

Username - Domain\username

Password - Password123

 

If I do enter the same credentials in Repo Browser , it rejects.. WHY?

 

I am using Visual SVN on server side and TSVN 1.7.x on Clinet.

 

Cheers, 

 



Re: SVN Access on repo Browser

2012-02-08 Thread Nico Kadel-Garcia
On Wed, Feb 8, 2012 at 10:28 AM, Waseem Shahzad
 wrote:
> Bob
>
>     Thanks for your reply.
>
>
>
>>> You really need to talk to your specific svn admin.
>
> I am the SVN Admin.

Cool.

>>>There are several ways to set up authentication to a subversion server.
>
> We are using Visual SVN on server Side and Tortoise SVN on Client Side. Now
> I have published my IP over the Internet so that it can deploy my Builds on
> Server out of my domain. SVN URL is  on Http and we are using Windows
> Integrated Authentication.

This is confusing. "I have published my IP over the Internet" cannot
work if the IP address starts with 192.168: that's a reversed and
"unroutable" address range, designated for private network use. If you
have a VPN or other direct connection between the SVN server and your
SVN clients that supports this, OK. Can you really ping the
192.168.0.9 address from the client? And do you have a proxy server in
between your clients and your servers? If you have a proxy, or VPN in
between the systems, does the client work well for a host on the
*same* local network as a server?

There are few things as fun as having clever proxies and VPN's and
firewalls in the way that works for most things, but breaks for
others.

>>>  Are you saying your credentials work in one dialog and not another?
>
>
>
> When in open Internet Explorer using Below , All work fine. But when I do
> the same on ‘Repo browser’ it failed. That is the main point I want to know.
> Please notice that User have full access rights on Visual SVN.
>
>
>
> URL  http://192.168.0.9/svn/myproject
>
>
>
> It prompts me for username and password
>
>
>
> Username – Domain\username
>
> Password - Password123
>
>
>
>
>
> Although, I expect LDAP auth won’t require you to enter your domain name…
> assuming that is what your server is set up to use.
>
>
>
>
>
> Cheers,
>
> Waseem Bukhari
>
> CM - Ext: 506
>
>
>
> From: Bob Archer [mailto:bob.arc...@amsi.com]
> Sent: Tuesday, February 07, 2012 2:13 PM
> To: Waseem Shahzad; users@subversion.apache.org
> Subject: RE: SVN Access on repo Browser
>
>
>
> You really need to talk to your specific svn admin. There are several ways
> to set up authentication to a subversion server. Are you saying your
> credentials work in one dialog and not another?
>
>
>
> Although, I expect LDAP auth won’t require you to enter your domain name…
> assuming that is what your server is set up to use.
>
>
>
> BOb
>
>
>
>
>
> From: Waseem Shahzad [mailto:waseem.shah...@curemd.com]
> Sent: Tuesday, February 07, 2012 10:04 AM
> To: users@subversion.apache.org
> Subject: SVN Access on repo Browser
>
>
>
> Question
>
>     I have published my SVN repository on Internet/Server
> that are out of my domain. URL is being Opened and working. When I open the
> same URL in repo browser , It failed. Why?
>
>
>
> Suppose
>
>    My url is
>
>
>
> http://192.168.0.9/svn/myproject
>
>
>
> It prompts me for username and password
>
>
>
> Username – Domain\username
>
> Password - Password123
>
>
>
> If I do enter the same credentials in Repo Browser , it rejects.. WHY?
>
>
>
> I am using Visual SVN on server side and TSVN 1.7.x on Clinet.
>
>
>
> Cheers,
>
>


RE: SVN Access on repo Browser

2012-02-08 Thread Waseem Shahzad
Thanks for your reply.

This is a Sample IP I have given u guys. Real is Confidential:) . If there 
would the IP Issue then why SVN getting access through Internet Explorer. the 
same way it is asking for Login and Password and being accessible. I can view 
the contents of my repository. I don't think there would be any Issue of 
Integrated Authentication. If it will be an Issue , Should be appeared on 
Internet Explorer.

My Question is why it is not being accessible on Repo browser. It is prompting 
me for Login and Password , when I enter , it refused. It really making me 
surprised.

Thanks in advance.


Cheers, 
Waseem Bukhari
CM - Ext: 506


-Original Message-
From: Nico Kadel-Garcia [mailto:nka...@gmail.com] 
Sent: Wednesday, February 08, 2012 11:34 AM
To: Waseem Shahzad
Cc: Bob Archer; users@subversion.apache.org
Subject: Re: SVN Access on repo Browser

On Wed, Feb 8, 2012 at 10:28 AM, Waseem Shahzad
 wrote:
> Bob
>
>     Thanks for your reply.
>
>
>
>>> You really need to talk to your specific svn admin.
>
> I am the SVN Admin.

Cool.

>>>There are several ways to set up authentication to a subversion server.
>
> We are using Visual SVN on server Side and Tortoise SVN on Client Side. Now
> I have published my IP over the Internet so that it can deploy my Builds on
> Server out of my domain. SVN URL is  on Http and we are using Windows
> Integrated Authentication.

This is confusing. "I have published my IP over the Internet" cannot
work if the IP address starts with 192.168: that's a reversed and
"unroutable" address range, designated for private network use. If you
have a VPN or other direct connection between the SVN server and your
SVN clients that supports this, OK. Can you really ping the
192.168.0.9 address from the client? And do you have a proxy server in
between your clients and your servers? If you have a proxy, or VPN in
between the systems, does the client work well for a host on the
*same* local network as a server?

There are few things as fun as having clever proxies and VPN's and
firewalls in the way that works for most things, but breaks for
others.

>>>  Are you saying your credentials work in one dialog and not another?
>
>
>
> When in open Internet Explorer using Below , All work fine. But when I do
> the same on 'Repo browser' it failed. That is the main point I want to know.
> Please notice that User have full access rights on Visual SVN.
>
>
>
> URL  http://192.168.0.9/svn/myproject
>
>
>
> It prompts me for username and password
>
>
>
> Username - Domain\username
>
> Password - Password123
>
>
>
>
>
> Although, I expect LDAP auth won't require you to enter your domain name...
> assuming that is what your server is set up to use.
>
>
>
>
>
> Cheers,
>
> Waseem Bukhari
>
> CM - Ext: 506
>
>
>
> From: Bob Archer [mailto:bob.arc...@amsi.com]
> Sent: Tuesday, February 07, 2012 2:13 PM
> To: Waseem Shahzad; users@subversion.apache.org
> Subject: RE: SVN Access on repo Browser
>
>
>
> You really need to talk to your specific svn admin. There are several ways
> to set up authentication to a subversion server. Are you saying your
> credentials work in one dialog and not another?
>
>
>
> Although, I expect LDAP auth won't require you to enter your domain name...
> assuming that is what your server is set up to use.
>
>
>
> BOb
>
>
>
>
>
> From: Waseem Shahzad [mailto:waseem.shah...@curemd.com]
> Sent: Tuesday, February 07, 2012 10:04 AM
> To: users@subversion.apache.org
> Subject: SVN Access on repo Browser
>
>
>
> Question
>
>     I have published my SVN repository on Internet/Server
> that are out of my domain. URL is being Opened and working. When I open the
> same URL in repo browser , It failed. Why?
>
>
>
> Suppose
>
>    My url is
>
>
>
> http://192.168.0.9/svn/myproject
>
>
>
> It prompts me for username and password
>
>
>
> Username - Domain\username
>
> Password - Password123
>
>
>
> If I do enter the same credentials in Repo Browser , it rejects.. WHY?
>
>
>
> I am using Visual SVN on server side and TSVN 1.7.x on Clinet.
>
>
>
> Cheers,
>
>


Re: SVN binaries?

2012-02-08 Thread Nico Kadel-Garcia
On Wed, Feb 8, 2012 at 9:27 AM, yucca nel  wrote:
> Hello
> I am looking for current SVN binaries and would like to know who I can
> contact to suggest binary releases for SVN?
>
> I enjoy most apache projects like Tomcat, Maven,  etc.
> A binary would aid me (and other script authors) in creating scripts for
> universal Linux as apposed to specific Versions.
>
> Currently I am working hard on a scripts that installs most of what you need
> to develop with on a Linux system, with major support for a VirtualBox
> development environment.  I believe (my opinion), it’s just not possible for
> a web developer to be tied down to a single system anymore.
> I use a dual development environment with VirtualBox, which allows me to
> harvest the benefits of two systems running together. My current development
> environment
> on Windows 7 ultimate, allows me to test and make use of the following
> technologies : IE6, IE7, IE8, IE9, Opera, Safari, Tomcat, JetBrains IDEA,
> Photoshop, Gimp, Konqueror,
> Tomcat, Maven, NetBeans (when my IDEA license expires), Tortoise SVN (a tool
> that I don’t really need) as I will explain below.

And I'd like a pony.

Cross-platform and multiple environment development setups are very
useful when they work well, and can cost massive man-hours when they
don't. The devil is in the details. file management handling for
shared access to working copies in Linux and Windows, for example,
faces the "lower and upper case filenames cannot overlap in Windows"
problem, and "end-of-line" handling is its own nightmare for shared
working environments.

> Virtualization is the only solution I have found currently that allows me to
> keep all my options open.
>
> I switch to Linux as it meets my needs for bash scripts, and to test
> Konqueror.

You might also consider using CygWin under Windows, if you need the
same scripting environment. Beware of EOL.

> My goal is to bring host and guest systems together through means of Shared
> Folders in VirtualBox as apposed to installing tools that I already have on
> the host system. Currently I can use Tortoise svn to create a repo on my
> host and share it to guest as I do with other apache products like Maven,
> Tomcat, etc...

I've done things like this, for shared home directory and working copy
repositories, shared via CIFS or NFS to both to both filesystems. It
can take some time and work to resolve properly, especially when
people tend to put whitespace and punctation in Windows file names and
know better on the Linux side but that kind of limited shared
workspace is feasible. It works better for Java based code than C
based code, by the way, since the generated binaries are generally
cross-platform compatible.

I suggest that you *REALLY* don't want to be building and downloading
all this JDK and other material on the fly. It's trying to replace the
system integrated components with your own custom maintained build
environments, and this is begging for maintenance pain. It means that
only you can rely on and work with these normally system components:
if I was a systems person tasked with integrating with this
overarching concept, I'd shake my head and talk to you about trying to
focus on the development side of the work, or getting you involved
more directly in the systems side, not trying to do both at once.

And do not get me *started* about introducing instability with locally
downloaded versions of Java. Just.. don't.


Re: Webpage issue

2012-02-08 Thread Ryan Schmidt
On Feb 8, 2012, at 05:23, sureshkumar nandakumar wrote:

> When we are trying to access SVN in Internet explorer we are getting
> below error. Once we re-started the Service i can able to access it..
> This is happening only in Morning time. we are getting this issue for
> past 5days.
> This is happening for all users.
> 
> i have tried with other browsers(Chrome,Internet Explorer,etc..) same
> issue Persisting
> 
> Can anyone please advise me, why this issue is happening?
> How i can fix this issue permanently.
> 
> Error:
> 
> This Webpage is not available.
> ERROR 324 (Net::ERR_EMPTY_RESPONSE): Unknown error
> The webpage at http://10.10.34.45:80/ might be temporarly down or
> it may have moved permanently to a new address.

I don't know.

What versions of Subversion, Apache and APR are you running on the server? What 
OS is the server running?

Is there anything interesting in the Apache error log when this happens?




Re: Subversion reports error.

2012-02-08 Thread Masaru Kitajima
Hi, Daniel

I posted e-mail below yesterday morning.

Could you find something to solve my problem?

Thanks in advance.

Kindest regards,
Masaru

On 2012/02/08, at 7:18, Masaru Kitajima wrote:
> Hi, Daniel.
> 
> Thank you for your help.
> 
> On 2012/02/08, at 7:00, Daniel Shahaf wrote:
>> Masaru Kitajima wrote on Wed, Feb 08, 2012 at 06:44:33 +0900:
>>> Hi, Daniel
>>> 
>>> On 2012/02/08, at 6:36, Daniel Shahaf wrote:
 What is the output of
 
 % ssh sectio...@section-9.sakura.ne.jp svnserve -t
>>> 
>>> It is as below:
>>> 
>>> ( success ( 2 2 ( ) ( edit-pipeline svndiff1 absent-entries commit-revprops 
>>> depth log-revprops partial-replay ) ) ) 
>>> 
>> 
>> That's expected.  It confirms that the problem is client-side --- that
>> somehow your 'svn' can't execute 'ssh'.
> 
> I see.
> 
>> How about
>> 
>> % svn info --config-option=config:tunnels:ssh=ssh 
>> svn+ssh://sectio...@section-9.sakura.ne.jp/home/section-9/svn/reps
> 
> Path: reps
> URL: svn+ssh://sectio...@section-9.sakura.ne.jp/home/section-9/svn/reps
> Repository Root: 
> svn+ssh://sectio...@section-9.sakura.ne.jp/home/section-9/svn/reps
> Repository UUID: 58057560-1dae-0410-8c1a-ac626003657b
> Revision: 919
> Node Kind: directory
> Last Changed Author: kitajima
> Last Changed Rev: 919
> Last Changed Date: 2012-02-07 11:54:42 +0900 (火, 07  2 2012)
> 
>> % ssh sectio...@section-9.sakura.ne.jp ls /home/section-9/svn/reps
> 
> README.txt
> conf
> db
> format
> hooks
> locks
> 
>>> and then stops. A prompt is not shown.
>>> 
>>> Kindest regards,
>>> Masaru
>>> 
 
 ?
 
 Masaru Kitajima wrote on Wed, Feb 08, 2012 at 06:32:18 +0900:
> On 2012/02/08, at 6:24, Stefan Sperling wrote:
>> On Wed, Feb 08, 2012 at 06:21:27AM +0900, Masaru Kitajima wrote:
>>> I typed "echo SVN_SSH" then server says "undefined variable". And 
>>> nothing found in the files you mentioned.
>> 
>> To me it looks like the problem is happening on the client
>> instead of on the server.
>> 
>> If you cannot find anything wrong in your ~/.subversion/config file,
>> maybe you have a bad "ssh =" option in /etc/subversion/config?
> 
> Thanks again!
> 
> But, I couldn't find /etc/subversion/config both on the server and the 
> client.
> So, this may not be a problem.
>> 
>> Try /usr/local/etc/subversion/config too.
> 
> There's no etc directory in /usr/local in my environment.
> (I use MacBook Pro running Mac OS X 10.7.3.)
> 
> <><><><><><><><><><><><><><><><><><><><><><><><><><>
> Manager / Photographer / Lecturer / Writer
> Masaru Kitajima
> 
> E-mail:tachi.sil...@gmail.com
> blog:http://www.section-9.jp/blog/bluez/
> 
> <><><><><><><><><><><><><><><><><><><><><><><><><><>
> 
>>> 
>>> <><><><><><><><><><><><><><><><><><><><><><><><><><>
>>> Manager / Photographer / Lecturer / Writer
>>> Masaru Kitajima
>>> 
>>> E-mail:tachi.sil...@gmail.com
>>> blog:http://www.section-9.jp/blog/bluez/
>>> 
>>> <><><><><><><><><><><><><><><><><><><><><><><><><><>
> 
> Kindest regards,
> Masaru
> 
> <><><><><><><><><><><><><><><><><><><><><><><><><><>
> Manager / Photographer / Lecturer / Writer
> Masaru Kitajima
> 
> E-mail:tachi.sil...@gmail.com
> blog:http://www.section-9.jp/blog/bluez/
> 
> <><><><><><><><><><><><><><><><><><><><><><><><><><>
> 

<><><><><><><><><><><><><><><><><><><><><><><><><><>
Manager / Photographer / Lecturer / Writer
Masaru Kitajima

E-mail:tachi.sil...@gmail.com
blog:http://www.section-9.jp/blog/bluez/

<><><><><><><><><><><><><><><><><><><><><><><><><><>



Re: Subversion reports error.

2012-02-08 Thread Daniel Shahaf
If it works with --config-option and not without it then either the
'config' file in your system provides a bogus value, or the envvar
SVN_SSH is set.

strace or truss should find the bogus config file for you, if all else
fails.

Masaru Kitajima wrote on Thu, Feb 09, 2012 at 03:41:20 +0900:
> Hi, Daniel
> 
> I posted e-mail below yesterday morning.
> 
> Could you find something to solve my problem?
> 
> Thanks in advance.
> 
> Kindest regards,
> Masaru
> 
> On 2012/02/08, at 7:18, Masaru Kitajima wrote:
> > Hi, Daniel.
> > 
> > Thank you for your help.
> > 
> > On 2012/02/08, at 7:00, Daniel Shahaf wrote:
> >> Masaru Kitajima wrote on Wed, Feb 08, 2012 at 06:44:33 +0900:
> >>> Hi, Daniel
> >>> 
> >>> On 2012/02/08, at 6:36, Daniel Shahaf wrote:
>  What is the output of
>  
>  % ssh sectio...@section-9.sakura.ne.jp svnserve -t
> >>> 
> >>> It is as below:
> >>> 
> >>> ( success ( 2 2 ( ) ( edit-pipeline svndiff1 absent-entries 
> >>> commit-revprops depth log-revprops partial-replay ) ) ) 
> >>> 
> >> 
> >> That's expected.  It confirms that the problem is client-side --- that
> >> somehow your 'svn' can't execute 'ssh'.
> > 
> > I see.
> > 
> >> How about
> >> 
> >> % svn info --config-option=config:tunnels:ssh=ssh 
> >> svn+ssh://sectio...@section-9.sakura.ne.jp/home/section-9/svn/reps
> > 
> > Path: reps
> > URL: svn+ssh://sectio...@section-9.sakura.ne.jp/home/section-9/svn/reps
> > Repository Root: 
> > svn+ssh://sectio...@section-9.sakura.ne.jp/home/section-9/svn/reps
> > Repository UUID: 58057560-1dae-0410-8c1a-ac626003657b
> > Revision: 919
> > Node Kind: directory
> > Last Changed Author: kitajima
> > Last Changed Rev: 919
> > Last Changed Date: 2012-02-07 11:54:42 +0900 (火, 07  2 2012)
> > 
> >> % ssh sectio...@section-9.sakura.ne.jp ls /home/section-9/svn/reps
> > 
> > README.txt
> > conf
> > db
> > format
> > hooks
> > locks
> > 
> >>> and then stops. A prompt is not shown.
> >>> 
> >>> Kindest regards,
> >>> Masaru
> >>> 
>  
>  ?
>  
>  Masaru Kitajima wrote on Wed, Feb 08, 2012 at 06:32:18 +0900:
> > On 2012/02/08, at 6:24, Stefan Sperling wrote:
> >> On Wed, Feb 08, 2012 at 06:21:27AM +0900, Masaru Kitajima wrote:
> >>> I typed "echo SVN_SSH" then server says "undefined variable". And 
> >>> nothing found in the files you mentioned.
> >> 
> >> To me it looks like the problem is happening on the client
> >> instead of on the server.
> >> 
> >> If you cannot find anything wrong in your ~/.subversion/config file,
> >> maybe you have a bad "ssh =" option in /etc/subversion/config?
> > 
> > Thanks again!
> > 
> > But, I couldn't find /etc/subversion/config both on the server and the 
> > client.
> > So, this may not be a problem.
> >> 
> >> Try /usr/local/etc/subversion/config too.
> > 
> > There's no etc directory in /usr/local in my environment.
> > (I use MacBook Pro running Mac OS X 10.7.3.)
> > 
> > <><><><><><><><><><><><><><><><><><><><><><><><><><>
> > Manager / Photographer / Lecturer / Writer
> > Masaru Kitajima
> > 
> > E-mail:tachi.sil...@gmail.com
> > blog:http://www.section-9.jp/blog/bluez/
> > 
> > <><><><><><><><><><><><><><><><><><><><><><><><><><>
> > 
> >>> 
> >>> <><><><><><><><><><><><><><><><><><><><><><><><><><>
> >>> Manager / Photographer / Lecturer / Writer
> >>> Masaru Kitajima
> >>> 
> >>> E-mail:tachi.sil...@gmail.com
> >>> blog:http://www.section-9.jp/blog/bluez/
> >>> 
> >>> <><><><><><><><><><><><><><><><><><><><><><><><><><>
> > 
> > Kindest regards,
> > Masaru
> > 
> > <><><><><><><><><><><><><><><><><><><><><><><><><><>
> > Manager / Photographer / Lecturer / Writer
> > Masaru Kitajima
> > 
> > E-mail:tachi.sil...@gmail.com
> > blog:http://www.section-9.jp/blog/bluez/
> > 
> > <><><><><><><><><><><><><><><><><><><><><><><><><><>
> > 
> 
> <><><><><><><><><><><><><><><><><><><><><><><><><><>
> Manager / Photographer / Lecturer / Writer
> Masaru Kitajima
> 
> E-mail:tachi.sil...@gmail.com
> blog:http://www.section-9.jp/blog/bluez/
> 
> <><><><><><><><><><><><><><><><><><><><><><><><><><>
> 


Error doing a svnsync

2012-02-08 Thread Phil Pinkerton
We have been doing a few hundred svnsync's  from a 1.6.5 repositories
to 1.7.2 repositories

for the most par this has gone quite well. but we have encountered an
error that is not to clear and we seek any insight to this error:

svnsync: E22: Valid UTF-8 data
(hex: 53 65 72 76 65 72 20 43 75 72 72 65 6e 63 79 20)
followed by invalid UTF-8 sequence
(hex: 96 20 42 61)


-- 
" The fundamental principle here is that the justification for a
physical concept lies exclusively in its clear and unambiguous
relation to the facts that it can be experienced"   AE

Please Feed and Educate the Children... it's the least any of us can do.


Re: Subversion reports error.

2012-02-08 Thread Masaru Kitajima
Hi, Daniel.

Sorry to say that I'm not familiar with UNIX command. So I can't
understand what to do next.

And I tried TortoiseSVN on my BOOTCAMP partition which runs Windows 7.
TortoiseSVN says "can't create tunnel". So I guess it is not my client
issue.


On 2012/02/09, at 3:53, Daniel Shahaf wrote:
> If it works with --config-option and not without it then either the
> 'config' file in your system provides a bogus value, or the envvar
> SVN_SSH is set.
> 
> strace or truss should find the bogus config file for you, if all else
> fails.
> 
> Masaru Kitajima wrote on Thu, Feb 09, 2012 at 03:41:20 +0900:
>> Hi, Daniel
>> 
>> I posted e-mail below yesterday morning.
>> 
>> Could you find something to solve my problem?
>> 
>> Thanks in advance.
>> 
>> Kindest regards,
>> Masaru
>> 
>> On 2012/02/08, at 7:18, Masaru Kitajima wrote:
>>> Hi, Daniel.
>>> 
>>> Thank you for your help.
>>> 
>>> On 2012/02/08, at 7:00, Daniel Shahaf wrote:
 Masaru Kitajima wrote on Wed, Feb 08, 2012 at 06:44:33 +0900:
> Hi, Daniel
> 
> On 2012/02/08, at 6:36, Daniel Shahaf wrote:
>> What is the output of
>> 
>> % ssh sectio...@section-9.sakura.ne.jp svnserve -t
> 
> It is as below:
> 
> ( success ( 2 2 ( ) ( edit-pipeline svndiff1 absent-entries 
> commit-revprops depth log-revprops partial-replay ) ) ) 
> 
 
 That's expected.  It confirms that the problem is client-side --- that
 somehow your 'svn' can't execute 'ssh'.
>>> 
>>> I see.
>>> 
 How about
 
 % svn info --config-option=config:tunnels:ssh=ssh 
 svn+ssh://sectio...@section-9.sakura.ne.jp/home/section-9/svn/reps
>>> 
>>> Path: reps
>>> URL: svn+ssh://sectio...@section-9.sakura.ne.jp/home/section-9/svn/reps
>>> Repository Root: 
>>> svn+ssh://sectio...@section-9.sakura.ne.jp/home/section-9/svn/reps
>>> Repository UUID: 58057560-1dae-0410-8c1a-ac626003657b
>>> Revision: 919
>>> Node Kind: directory
>>> Last Changed Author: kitajima
>>> Last Changed Rev: 919
>>> Last Changed Date: 2012-02-07 11:54:42 +0900 (火, 07  2 2012)
>>> 
 % ssh sectio...@section-9.sakura.ne.jp ls /home/section-9/svn/reps
>>> 
>>> README.txt
>>> conf
>>> db
>>> format
>>> hooks
>>> locks
>>> 
> and then stops. A prompt is not shown.
> 
> Kindest regards,
> Masaru
> 
>> 
>> ?
>> 
>> Masaru Kitajima wrote on Wed, Feb 08, 2012 at 06:32:18 +0900:
>>> On 2012/02/08, at 6:24, Stefan Sperling wrote:
 On Wed, Feb 08, 2012 at 06:21:27AM +0900, Masaru Kitajima wrote:
> I typed "echo SVN_SSH" then server says "undefined variable". And 
> nothing found in the files you mentioned.
 
 To me it looks like the problem is happening on the client
 instead of on the server.
 
 If you cannot find anything wrong in your ~/.subversion/config file,
 maybe you have a bad "ssh =" option in /etc/subversion/config?
>>> 
>>> Thanks again!
>>> 
>>> But, I couldn't find /etc/subversion/config both on the server and the 
>>> client.
>>> So, this may not be a problem.
 
 Try /usr/local/etc/subversion/config too.
>>> 
>>> There's no etc directory in /usr/local in my environment.
>>> (I use MacBook Pro running Mac OS X 10.7.3.)
>>> 
>>> <><><><><><><><><><><><><><><><><><><><><><><><><><>
>>> Manager / Photographer / Lecturer / Writer
>>> Masaru Kitajima
>>> 
>>> E-mail:tachi.sil...@gmail.com
>>> blog:http://www.section-9.jp/blog/bluez/
>>> 
>>> <><><><><><><><><><><><><><><><><><><><><><><><><><>
>>> 
> 
> <><><><><><><><><><><><><><><><><><><><><><><><><><>
> Manager / Photographer / Lecturer / Writer
> Masaru Kitajima
> 
> E-mail:tachi.sil...@gmail.com
> blog:http://www.section-9.jp/blog/bluez/
> 
> <><><><><><><><><><><><><><><><><><><><><><><><><><>
>>> 
>>> Kindest regards,
>>> Masaru
>>> 
>>> <><><><><><><><><><><><><><><><><><><><><><><><><><>
>>> Manager / Photographer / Lecturer / Writer
>>> Masaru Kitajima
>>> 
>>> E-mail:tachi.sil...@gmail.com
>>> blog:http://www.section-9.jp/blog/bluez/
>>> 
>>> <><><><><><><><><><><><><><><><><><><><><><><><><><>
>>> 
>> 
>> <><><><><><><><><><><><><><><><><><><><><><><><><><>
>> Manager / Photographer / Lecturer / Writer
>> Masaru Kitajima
>> 
>> E-mail:tachi.sil...@gmail.com
>> blog:http://www.section-9.jp/blog/bluez/
>> 
>> <><><><><><><><><><><><><><><><><><><><><><><><><><>
>> 

<><><><><><><><><><><><><><><><><><><><><><><><><><>
Manager / Photographer / Lecturer / Writer
Masaru Kitajima

E-mail:tachi.sil...@gmail.com
blog:http://www.section-9.jp/blog/bluez/

<><><><><><><><><><><><><><><><><><><><><><><><><><>



Re: Error doing a svnsync

2012-02-08 Thread Stephen Butler

On Feb 8, 2012, at 20:00 , Phil Pinkerton wrote:

> We have been doing a few hundred svnsync's  from a 1.6.5 repositories
> to 1.7.2 repositories
> 
> for the most par this has gone quite well. but we have encountered an
> error that is not to clear and we seek any insight to this error:
> 
> svnsync: E22: Valid UTF-8 data
> (hex: 53 65 72 76 65 72 20 43 75 72 72 65 6e 63 79 20)
> followed by invalid UTF-8 sequence
> (hex: 96 20 42 61)


Indeed, the 0x96 is invalid in UTF-8.

>>> "".join([chr(int(n, 16)).decode("utf-8") for n in "53 65 72 76 65 72 20 43 
>>> 75 72 72 65 6e 63 79 20".split()])
u'Server Currency '

>>> "".join([chr(int(n, 16)).decode("utf-8") for n in "96 20 42 61".split()])
Traceback (most recent call last):
  File "", line 1, in 
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/utf_8.py",
 line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x96 in position 0: invalid 
start byte

Does that text appear in a log message?  The 1.7 server is stricter 
about UTF-8.  

The svnsync command has a new option --source-prop-encoding, 
which may be useful if some old client committed a log message in 
some other encoding.

Regards,
Steve

Re: Subversion reports error.

2012-02-08 Thread Alagazam.net Subversion

> % ssh sectio...@section-9.sakura.ne.jp ls /home/section-9/svn/reps
 README.txt
 conf
 db
 format
 hooks
 locks

>> and then stops. A prompt is not shown.
>>
>> Kindest regards,
>> Masaru
>>
This symptom of not getting any prompt back reminds me of a totally
non-svn related "bug" but a network error I encountered some time ago.
When running a ssh session to a remote computer via en VPN tunnel
commands on the remote computer returning a lot of data halted the
session after just a couple of lines.
i.e. "ls -l" didn't work but "ls" did for the same directory.

The problem was that the router where the tunnel ended (or started) on
my side had been replaced an the MTU had changed, so network packets to
large didn't come through the tunnel..
When the network people corrected the MTU everything worked again.

Don't know if that's your problem but I'm telling the story so you can
investigate this option.

/David a.k.a. Alagazam




Re: Subversion reports error.

2012-02-08 Thread Ryan Schmidt

On Feb 8, 2012, at 15:41, Alagazam.net Subversion wrote:
> On Feb 7, 2012, at 15:44, Masaru Kitajima wrote:
>> On 2012/02/08, at 6:36, Daniel Shahaf wrote:
>>> What is the output of
>>> 
>>> % ssh sectio...@section-9.sakura.ne.jp svnserve -t
>> 
>> It is as below:
>> 
>> ( success ( 2 2 ( ) ( edit-pipeline svndiff1 absent-entries commit-revprops 
>> depth log-revprops partial-replay ) ) ) 
>> 
>> and then stops. A prompt is not shown.

> 
> This symptom of not getting any prompt back reminds me of a totally
> non-svn related "bug" but a network error I encountered some time ago.

Not seeing a prompt in this case is not a bug; it's expected behavior. svnserve 
is not an interactive program that has a prompt. It's a Subversion server; the 
above test demonstrated that svnserve is running correctly and is waiting for a 
Subversion client to connect to it.





Re: Error doing a svnsync

2012-02-08 Thread Stephen Butler
[ cc'ing users@ again]

On Feb 8, 2012, at 23:25 , Phil Pinkerton wrote:

> Thanks when I try using --source-prop-encoding I get
> 
> svnsync: E22: Safe data 'Server Currency ' was followed by
> non-ASCII byte 150: unable to convert to/from UTF-8

What was the name of the (non-UTF-8) encoding?  I think

  --source-prop-encoding cp1252

might work, thanks to a handy table I found at

  http://www.prismnet.com/~jdawson/cp1252.html

[[[
>>> s = "".join([chr(int(n, 16)).decode("cp1252") for n in "53 65 72 76 65 72 
>>> 20 43 75 72 72 65 6e 63 79 20 96 20 42 61".split()])
>>> with open("log.txt", "w") as f:
... f.write(s.encode("utf-8"))
]]]

When I open log.txt in Emacs I see a long dash:

  Server Currency – Ba

Bingo! :-)

Steve

> 
> On Wed, Feb 8, 2012 at 4:28 PM, Stephen Butler  wrote:
>> 
>> On Feb 8, 2012, at 20:00 , Phil Pinkerton wrote:
>> 
>>> We have been doing a few hundred svnsync's  from a 1.6.5 repositories
>>> to 1.7.2 repositories
>>> 
>>> for the most par this has gone quite well. but we have encountered an
>>> error that is not to clear and we seek any insight to this error:
>>> 
>>> svnsync: E22: Valid UTF-8 data
>>> (hex: 53 65 72 76 65 72 20 43 75 72 72 65 6e 63 79 20)
>>> followed by invalid UTF-8 sequence
>>> (hex: 96 20 42 61)
>> 
>> 
>> Indeed, the 0x96 is invalid in UTF-8.
>> 
> "".join([chr(int(n, 16)).decode("utf-8") for n in "53 65 72 76 65 72 20 
> 43 75 72 72 65 6e 63 79 20".split()])
>> u'Server Currency '
>> 
> "".join([chr(int(n, 16)).decode("utf-8") for n in "96 20 42 61".split()])
>> Traceback (most recent call last):
>>  File "", line 1, in 
>>  File 
>> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/utf_8.py",
>>  line 16, in decode
>>return codecs.utf_8_decode(input, errors, True)
>> UnicodeDecodeError: 'utf8' codec can't decode byte 0x96 in position 0: 
>> invalid start byte
>> 
>> Does that text appear in a log message?  The 1.7 server is stricter
>> about UTF-8.
>> 
>> The svnsync command has a new option --source-prop-encoding,
>> which may be useful if some old client committed a log message in
>> some other encoding.
>> 
>> Regards,
>> Steve
> 
> 
> 
> -- 
> " The fundamental principle here is that the justification for a
> physical concept lies exclusively in its clear and unambiguous
> relation to the facts that it can be experienced"   AE
> 
> Please Feed and Educate the Children... it's the least any of us can do.

--
Stephen Butler | Consultant
elego Software Solutions GmbH
Gustav-Meyer-Allee 25, 13355 Berlin, Germany
tel: +49 30 2345 8696 | mobile: +49 163 25 45 015
fax: +49 30 2345 8695 | http://www.elego.de
Geschäftsführer: Olaf Wagner | Sitz der Gesellschaft: Berlin
Amtsgericht Charlottenburg HRB 77719




Re: Subversion reports error.

2012-02-08 Thread Masaru Kitajima
Rian,

I see. I'm happy to hear that it's not a bug and it's expected behavior.

Still I can't connect to Subversion using svn+ssh protocol. And my team
is worrying about it to manage their source files.

Hope to solve this problem soon...

Kindest regards,
Masaru

On 2012/02/09, at 8:23, Ryan Schmidt wrote:

> 
> On Feb 8, 2012, at 15:41, Alagazam.net Subversion wrote:
>> On Feb 7, 2012, at 15:44, Masaru Kitajima wrote:
>>> On 2012/02/08, at 6:36, Daniel Shahaf wrote:
 What is the output of
 
 % ssh sectio...@section-9.sakura.ne.jp svnserve -t
>>> 
>>> It is as below:
>>> 
>>> ( success ( 2 2 ( ) ( edit-pipeline svndiff1 absent-entries commit-revprops 
>>> depth log-revprops partial-replay ) ) ) 
>>> 
>>> and then stops. A prompt is not shown.
> 
>> 
>> This symptom of not getting any prompt back reminds me of a totally
>> non-svn related "bug" but a network error I encountered some time ago.
> 
> Not seeing a prompt in this case is not a bug; it's expected behavior. 
> svnserve is not an interactive program that has a prompt. It's a Subversion 
> server; the above test demonstrated that svnserve is running correctly and is 
> waiting for a Subversion client to connect to it.
> 
> 
> 

<><><><><><><><><><><><><><><><><><><><><><><><><><>
Manager / Photographer / Lecturer / Writer
Masaru Kitajima

E-mail:tachi.sil...@gmail.com
blog:http://www.section-9.jp/blog/bluez/

<><><><><><><><><><><><><><><><><><><><><><><><><><>



Re: predecessor count for the root node-revision is wrong message

2012-02-08 Thread Jason Wong
Hello and thank you for replying.

On Tue, Feb 7, 2012 at 4:04 PM, Daniel Shahaf  wrote:
> Jason Wong wrote on Tue, Feb 07, 2012 at 13:23:10 -0800:
>> Any help/comments would be appreciated. Thank you.
>>
>
> As I said, I'd be interested in isolating the cause of these errors.
> Is there anything common to revisions that triggered the bug (as
> explained above)?  Are they concomitant with concurrent writes (commits,
> propedits, 'svn lock' operations, 'svnadmin pack' operations)?  What
> version of svn does your server run (1.7.1?)?  What operating system
> does your server run?  Is there anything noteworthy about its
> filesystems or disks?
>
I am working with our lead developer to come up with more details
on our build process. I will post this when I get it.
Our svn repository is 1.7.1 and is hosted on Apache 2.2.21 on a
Windows 2003 server. The server has running RAID5 with SCSI disks.

Because my systems are on Windows, I don't think the perl script
you had sent me will run as there are a couple commands in it
that are called which I don't have. Do you have any suggestions
for how I can run the script?

In the meantime, I am running svn log -q and will go though the
output to scan for missing revisions. I will let you know those
results when I have them.

Thank you.

Jason Wong


Re: predecessor count for the root node-revision is wrong message

2012-02-08 Thread Daniel Shahaf
Jason Wong wrote on Wed, Feb 08, 2012 at 15:32:05 -0800:
> Hello and thank you for replying.
> 
> On Tue, Feb 7, 2012 at 4:04 PM, Daniel Shahaf  wrote:
> > Jason Wong wrote on Tue, Feb 07, 2012 at 13:23:10 -0800:
> >> Any help/comments would be appreciated. Thank you.
> >>
> >
> > As I said, I'd be interested in isolating the cause of these errors.
> > Is there anything common to revisions that triggered the bug (as
> > explained above)?  Are they concomitant with concurrent writes (commits,
> > propedits, 'svn lock' operations, 'svnadmin pack' operations)?  What
> > version of svn does your server run (1.7.1?)?  What operating system
> > does your server run?  Is there anything noteworthy about its
> > filesystems or disks?
> >
> I am working with our lead developer to come up with more details
> on our build process. I will post this when I get it.
> Our svn repository is 1.7.1 and is hosted on Apache 2.2.21 on a
> Windows 2003 server. The server has running RAID5 with SCSI disks.
> 

Okay.  We've seen this happen on svn.apache.org, which today runs
httpd-2.3/FreeBSD/zfs, and was probably running this or a similar stack
when the problems triggered there.

> Because my systems are on Windows, I don't think the perl script
> you had sent me will run as there are a couple commands in it
> that are called which I don't have. Do you have any suggestions
> for how I can run the script?
> 

Get xxd.exe from http://www.vim.org/ and cat.exe and sed.exe from
http://gnuwin32.sf.net (or from Cygwin).  Delete from the script the
line that uses the 'head' command.

Or just reimplement it in your language of choice.  Basically it runs
'svnlook', parses out the noderev-id as '%s.%s.%s', parses \3 as
'r%d.%d', and opens revision file \1 at offset \2 --- accounting for the
fact that that revision may have been 'svnadmin pack'ed.

If I spoke too fast, feel free to ask.

> In the meantime, I am running svn log -q and will go though the
> output to scan for missing revisions. I will let you know those
> results when I have them.
> 

Thanks,

Daniel

> Thank you.
> 
> Jason Wong


Re: Subversion reports error.

2012-02-08 Thread Daniel Shahaf
Masaru,

Does 'ssh -q sectio...@section-9.sakura.ne.jp svnserve -t' print the
server greeting (like it does without -q)?

1. If it does not print a greeting, you'll have to define:
[tunnels]
ssh = $SVN_SSH ssh
(without anything else on the second line) in your system-wide or
per-user configuration file.  (on Unixy systems: /etc/subversion/config
(if not changed by the OS packager) or ~/.subversion/config)

2. If it does print a greeting, then the ball is in your court.
You'll have to follow the instructions we've already provided (about
looking for the 'ssh' tunnel defined wrongly in your environment or in
your config files).  If those aren't clear, do not hesitate to ask for
clarification.

Good luck,

Daniel


Masaru Kitajima wrote on Thu, Feb 09, 2012 at 08:27:53 +0900:
> Rian,
> 
> I see. I'm happy to hear that it's not a bug and it's expected behavior.
> 
> Still I can't connect to Subversion using svn+ssh protocol. And my team
> is worrying about it to manage their source files.
> 
> Hope to solve this problem soon...
> 
> Kindest regards,
> Masaru
> 
> On 2012/02/09, at 8:23, Ryan Schmidt wrote:
> 
> > 
> > On Feb 8, 2012, at 15:41, Alagazam.net Subversion wrote:
> >> On Feb 7, 2012, at 15:44, Masaru Kitajima wrote:
> >>> On 2012/02/08, at 6:36, Daniel Shahaf wrote:
>  What is the output of
>  
>  % ssh sectio...@section-9.sakura.ne.jp svnserve -t
> >>> 
> >>> It is as below:
> >>> 
> >>> ( success ( 2 2 ( ) ( edit-pipeline svndiff1 absent-entries 
> >>> commit-revprops depth log-revprops partial-replay ) ) ) 
> >>> 
> >>> and then stops. A prompt is not shown.
> > 
> >> 
> >> This symptom of not getting any prompt back reminds me of a totally
> >> non-svn related "bug" but a network error I encountered some time ago.
> > 
> > Not seeing a prompt in this case is not a bug; it's expected behavior. 
> > svnserve is not an interactive program that has a prompt. It's a Subversion 
> > server; the above test demonstrated that svnserve is running correctly and 
> > is waiting for a Subversion client to connect to it.
> > 
> > 
> > 
> 
> <><><><><><><><><><><><><><><><><><><><><><><><><><>
> Manager / Photographer / Lecturer / Writer
> Masaru Kitajima
> 
> E-mail:tachi.sil...@gmail.com
> blog:http://www.section-9.jp/blog/bluez/
> 
> <><><><><><><><><><><><><><><><><><><><><><><><><><>
> 


Re: predecessor count for the root node-revision is wrong message

2012-02-08 Thread Daniel Shahaf
Daniel Shahaf wrote on Thu, Feb 09, 2012 at 01:46:45 +0200:
> Jason Wong wrote on Wed, Feb 08, 2012 at 15:32:05 -0800:
> > Hello and thank you for replying.
> > 
> > On Tue, Feb 7, 2012 at 4:04 PM, Daniel Shahaf  wrote:
> > > Jason Wong wrote on Tue, Feb 07, 2012 at 13:23:10 -0800:
> > >> Any help/comments would be appreciated. Thank you.
> > >>
> > >
> > > As I said, I'd be interested in isolating the cause of these errors.
> > > Is there anything common to revisions that triggered the bug (as
> > > explained above)?  Are they concomitant with concurrent writes (commits,
> > > propedits, 'svn lock' operations, 'svnadmin pack' operations)?  What
> > > version of svn does your server run (1.7.1?)?  What operating system
> > > does your server run?  Is there anything noteworthy about its
> > > filesystems or disks?
> > >
> > I am working with our lead developer to come up with more details
> > on our build process. I will post this when I get it.
> > Our svn repository is 1.7.1 and is hosted on Apache 2.2.21 on a
> > Windows 2003 server. The server has running RAID5 with SCSI disks.
> > 
> 
> Okay.  We've seen this happen on svn.apache.org, which today runs
> httpd-2.3/FreeBSD/zfs, and was probably running this or a similar stack
> when the problems triggered there.
> 
> > Because my systems are on Windows, I don't think the perl script
> > you had sent me will run as there are a couple commands in it
> > that are called which I don't have. Do you have any suggestions
> > for how I can run the script?
> > 
> 
> Get xxd.exe from http://www.vim.org/ and cat.exe and sed.exe from
> http://gnuwin32.sf.net (or from Cygwin).  Delete from the script the
> line that uses the 'head' command.
> 
> Or just reimplement it in your language of choice.  Basically it runs
> 'svnlook', parses out the noderev-id as '%s.%s.%s', parses \3 as
> 'r%d.%d', and opens revision file \1 at offset \2 --- accounting for the

Typo fix: 'r%d.%d' -> 'r%d/%d'

> fact that that revision may have been 'svnadmin pack'ed.
> 
> If I spoke too fast, feel free to ask.
> 
> > In the meantime, I am running svn log -q and will go though the
> > output to scan for missing revisions. I will let you know those
> > results when I have them.
> > 
> 
> Thanks,
> 
> Daniel
> 
> > Thank you.
> > 
> > Jason Wong


Re: Subversion reports error.

2012-02-08 Thread Masaru Kitajima
Daniel,

Thanks for your kind help.

When I typed a command you suggested, server said
"( success ( 2 2 ( ) ( edit-pipeline svndiff1 absent-entries commit-revprops 
depth log-revprops partial-replay ) ) ) ".

And it's same as without -q option.

So, the ball is in my court.

I'm not sure where my ssh tunnel defined with Mac OS X 10.7.

Do you have any idea?

Kindest regards,
Masaru

On 2012/02/09, at 9:11, Daniel Shahaf wrote:
> Masaru,
> 
> Does 'ssh -q sectio...@section-9.sakura.ne.jp svnserve -t' print the
> server greeting (like it does without -q)?
> 
> 1. If it does not print a greeting, you'll have to define:
>[tunnels]
>ssh = $SVN_SSH ssh
> (without anything else on the second line) in your system-wide or
> per-user configuration file.  (on Unixy systems: /etc/subversion/config
> (if not changed by the OS packager) or ~/.subversion/config)
> 
> 2. If it does print a greeting, then the ball is in your court.
> You'll have to follow the instructions we've already provided (about
> looking for the 'ssh' tunnel defined wrongly in your environment or in
> your config files).  If those aren't clear, do not hesitate to ask for
> clarification.
> 
> Good luck,
> 
> Daniel
> 
> 
> Masaru Kitajima wrote on Thu, Feb 09, 2012 at 08:27:53 +0900:
>> Rian,
>> 
>> I see. I'm happy to hear that it's not a bug and it's expected behavior.
>> 
>> Still I can't connect to Subversion using svn+ssh protocol. And my team
>> is worrying about it to manage their source files.
>> 
>> Hope to solve this problem soon...
>> 
>> Kindest regards,
>> Masaru
>> 
>> On 2012/02/09, at 8:23, Ryan Schmidt wrote:
>> 
>>> 
>>> On Feb 8, 2012, at 15:41, Alagazam.net Subversion wrote:
 On Feb 7, 2012, at 15:44, Masaru Kitajima wrote:
> On 2012/02/08, at 6:36, Daniel Shahaf wrote:
>> What is the output of
>> 
>> % ssh sectio...@section-9.sakura.ne.jp svnserve -t
> 
> It is as below:
> 
> ( success ( 2 2 ( ) ( edit-pipeline svndiff1 absent-entries 
> commit-revprops depth log-revprops partial-replay ) ) ) 
> 
> and then stops. A prompt is not shown.
>>> 
 
 This symptom of not getting any prompt back reminds me of a totally
 non-svn related "bug" but a network error I encountered some time ago.
>>> 
>>> Not seeing a prompt in this case is not a bug; it's expected behavior. 
>>> svnserve is not an interactive program that has a prompt. It's a Subversion 
>>> server; the above test demonstrated that svnserve is running correctly and 
>>> is waiting for a Subversion client to connect to it.
>>> 
>>> 
>>> 
>> 
>> <><><><><><><><><><><><><><><><><><><><><><><><><><>
>> Manager / Photographer / Lecturer / Writer
>> Masaru Kitajima
>> 
>> E-mail:tachi.sil...@gmail.com
>> blog:http://www.section-9.jp/blog/bluez/
>> 
>> <><><><><><><><><><><><><><><><><><><><><><><><><><>
>> 

<><><><><><><><><><><><><><><><><><><><><><><><><><>
Manager / Photographer / Lecturer / Writer
Masaru Kitajima

E-mail:tachi.sil...@gmail.com
blog:http://www.section-9.jp/blog/bluez/

<><><><><><><><><><><><><><><><><><><><><><><><><><>



Re: predecessor count for the root node-revision is wrong message

2012-02-08 Thread Daniel Shahaf
Daniel Shahaf wrote on Thu, Feb 09, 2012 at 01:46:45 +0200:
> Jason Wong wrote on Wed, Feb 08, 2012 at 15:32:05 -0800:
> > Hello and thank you for replying.
> > 
> > On Tue, Feb 7, 2012 at 4:04 PM, Daniel Shahaf  wrote:
> > > Jason Wong wrote on Tue, Feb 07, 2012 at 13:23:10 -0800:
> > >> Any help/comments would be appreciated. Thank you.
> > >>
> > >
> > > As I said, I'd be interested in isolating the cause of these errors.
> > > Is there anything common to revisions that triggered the bug (as
> > > explained above)?  Are they concomitant with concurrent writes (commits,
> > > propedits, 'svn lock' operations, 'svnadmin pack' operations)?  What
> > > version of svn does your server run (1.7.1?)?  What operating system
> > > does your server run?  Is there anything noteworthy about its
> > > filesystems or disks?
> > >
> > I am working with our lead developer to come up with more details
> > on our build process. I will post this when I get it.
> > Our svn repository is 1.7.1 and is hosted on Apache 2.2.21 on a
> > Windows 2003 server. The server has running RAID5 with SCSI disks.
> > 
> 
> Okay.  We've seen this happen on svn.apache.org, which today runs
> httpd-2.3/FreeBSD/zfs, and was probably running this or a similar stack
> when the problems triggered there.
> 
> > Because my systems are on Windows, I don't think the perl script
> > you had sent me will run as there are a couple commands in it
> > that are called which I don't have. Do you have any suggestions
> > for how I can run the script?
> > 
> 
> Get xxd.exe from http://www.vim.org/ and cat.exe and sed.exe from
> http://gnuwin32.sf.net (or from Cygwin).  Delete from the script the
> line that uses the 'head' command.

There is a second use of 'head', which you shouldn't delete.  So
instead, just get head.exe from the same place as the other two, or use
the following kind of statement:

my $line = do {
open FOO, "perl -V 2>&1 |";
;
};

Lastly, there's a 'sed' invocation that uses single-quoted arguments.
All it does is "print the input up to the first empty line" --- feel
free to implement it differently.  (One way:

my @lines = split /\n/, `command | goes | here`;
$_ and print or last for @lines;

Both of these examples could do with some error checking.)

Daniel
(yes, there's also a neater way to do this without split(). but it's
not a Perl class here)


Re: Subversion reports error.

2012-02-08 Thread Daniel Shahaf
Run svn under a syscall tracer (such as strace, truss, or local
equivalent), and  you'll see an open(2) call for the config file.  (Ryan
or someone else may be able to tell you what 'local equivalent' is.)

I believe you already looked for $SVN_SSH in your environment upthread
(and found that it was, properly, undefined).

(Technically, it's also possible that 'svn' is a shell alias, or shell
function, or wrapper script, that changes the environment before running
the 'svn' binary.  This isn't very likely, but you may want to rule it
out nonetheless.)

Good luck,

Daniel

Masaru Kitajima wrote on Thu, Feb 09, 2012 at 09:29:27 +0900:
> Daniel,
> 
> Thanks for your kind help.
> 
> When I typed a command you suggested, server said
> "( success ( 2 2 ( ) ( edit-pipeline svndiff1 absent-entries commit-revprops 
> depth log-revprops partial-replay ) ) ) ".
> 
> And it's same as without -q option.
> 
> So, the ball is in my court.
> 
> I'm not sure where my ssh tunnel defined with Mac OS X 10.7.
> 
> Do you have any idea?
> 
> Kindest regards,
> Masaru
> 
> On 2012/02/09, at 9:11, Daniel Shahaf wrote:
> > Masaru,
> > 
> > Does 'ssh -q sectio...@section-9.sakura.ne.jp svnserve -t' print the
> > server greeting (like it does without -q)?
> > 
> > 1. If it does not print a greeting, you'll have to define:
> >[tunnels]
> >ssh = $SVN_SSH ssh
> > (without anything else on the second line) in your system-wide or
> > per-user configuration file.  (on Unixy systems: /etc/subversion/config
> > (if not changed by the OS packager) or ~/.subversion/config)
> > 
> > 2. If it does print a greeting, then the ball is in your court.
> > You'll have to follow the instructions we've already provided (about
> > looking for the 'ssh' tunnel defined wrongly in your environment or in
> > your config files).  If those aren't clear, do not hesitate to ask for
> > clarification.
> > 
> > Good luck,
> > 
> > Daniel
> > 
> > 
> > Masaru Kitajima wrote on Thu, Feb 09, 2012 at 08:27:53 +0900:
> >> Rian,
> >> 
> >> I see. I'm happy to hear that it's not a bug and it's expected behavior.
> >> 
> >> Still I can't connect to Subversion using svn+ssh protocol. And my team
> >> is worrying about it to manage their source files.
> >> 
> >> Hope to solve this problem soon...
> >> 
> >> Kindest regards,
> >> Masaru
> >> 
> >> On 2012/02/09, at 8:23, Ryan Schmidt wrote:
> >> 
> >>> 
> >>> On Feb 8, 2012, at 15:41, Alagazam.net Subversion wrote:
>  On Feb 7, 2012, at 15:44, Masaru Kitajima wrote:
> > On 2012/02/08, at 6:36, Daniel Shahaf wrote:
> >> What is the output of
> >> 
> >> % ssh sectio...@section-9.sakura.ne.jp svnserve -t
> > 
> > It is as below:
> > 
> > ( success ( 2 2 ( ) ( edit-pipeline svndiff1 absent-entries 
> > commit-revprops depth log-revprops partial-replay ) ) ) 
> > 
> > and then stops. A prompt is not shown.
> >>> 
>  
>  This symptom of not getting any prompt back reminds me of a totally
>  non-svn related "bug" but a network error I encountered some time ago.
> >>> 
> >>> Not seeing a prompt in this case is not a bug; it's expected behavior. 
> >>> svnserve is not an interactive program that has a prompt. It's a 
> >>> Subversion server; the above test demonstrated that svnserve is running 
> >>> correctly and is waiting for a Subversion client to connect to it.
> >>> 
> >>> 
> >>> 
> >> 
> >> <><><><><><><><><><><><><><><><><><><><><><><><><><>
> >> Manager / Photographer / Lecturer / Writer
> >> Masaru Kitajima
> >> 
> >> E-mail:tachi.sil...@gmail.com
> >> blog:http://www.section-9.jp/blog/bluez/
> >> 
> >> <><><><><><><><><><><><><><><><><><><><><><><><><><>
> >> 
> 
> <><><><><><><><><><><><><><><><><><><><><><><><><><>
> Manager / Photographer / Lecturer / Writer
> Masaru Kitajima
> 
> E-mail:tachi.sil...@gmail.com
> blog:http://www.section-9.jp/blog/bluez/
> 
> <><><><><><><><><><><><><><><><><><><><><><><><><><>
> 


Re: Subversion reports error.

2012-02-08 Thread Masaru Kitajima
Daniel,

In Mac OS X, we should use dtrace command. Its command is like
"sudo dtrace -n "syscall::open:entry, syscall::stat:entry, 
syscall::stat64:entry / execname == \"svn\" / {trace( copyinstr(arg0))}" > 
dtrace.txt".

I tried this and then tried
"svn info svn+ssh://sectio...@section-9.sakura.ne.jp/home/section-9/svn/reps".

Then, I don't know why, dtrace stopped automatically and nothing is recorded
in dtrace.txt.

Do you have any solutions?

Kindest regards,
Masaru

On 2012/02/09, at 9:49, Daniel Shahaf wrote:
> Run svn under a syscall tracer (such as strace, truss, or local
> equivalent), and  you'll see an open(2) call for the config file.  (Ryan
> or someone else may be able to tell you what 'local equivalent' is.)
> 
> I believe you already looked for $SVN_SSH in your environment upthread
> (and found that it was, properly, undefined).
> 
> (Technically, it's also possible that 'svn' is a shell alias, or shell
> function, or wrapper script, that changes the environment before running
> the 'svn' binary.  This isn't very likely, but you may want to rule it
> out nonetheless.)
> 
> Good luck,
> 
> Daniel
> 
> Masaru Kitajima wrote on Thu, Feb 09, 2012 at 09:29:27 +0900:
>> Daniel,
>> 
>> Thanks for your kind help.
>> 
>> When I typed a command you suggested, server said
>> "( success ( 2 2 ( ) ( edit-pipeline svndiff1 absent-entries commit-revprops 
>> depth log-revprops partial-replay ) ) ) ".
>> 
>> And it's same as without -q option.
>> 
>> So, the ball is in my court.
>> 
>> I'm not sure where my ssh tunnel defined with Mac OS X 10.7.
>> 
>> Do you have any idea?
>> 
>> Kindest regards,
>> Masaru
>> 
>> On 2012/02/09, at 9:11, Daniel Shahaf wrote:
>>> Masaru,
>>> 
>>> Does 'ssh -q sectio...@section-9.sakura.ne.jp svnserve -t' print the
>>> server greeting (like it does without -q)?
>>> 
>>> 1. If it does not print a greeting, you'll have to define:
>>>   [tunnels]
>>>   ssh = $SVN_SSH ssh
>>> (without anything else on the second line) in your system-wide or
>>> per-user configuration file.  (on Unixy systems: /etc/subversion/config
>>> (if not changed by the OS packager) or ~/.subversion/config)
>>> 
>>> 2. If it does print a greeting, then the ball is in your court.
>>> You'll have to follow the instructions we've already provided (about
>>> looking for the 'ssh' tunnel defined wrongly in your environment or in
>>> your config files).  If those aren't clear, do not hesitate to ask for
>>> clarification.
>>> 
>>> Good luck,
>>> 
>>> Daniel
>>> 
>>> 
>>> Masaru Kitajima wrote on Thu, Feb 09, 2012 at 08:27:53 +0900:
 Rian,
 
 I see. I'm happy to hear that it's not a bug and it's expected behavior.
 
 Still I can't connect to Subversion using svn+ssh protocol. And my team
 is worrying about it to manage their source files.
 
 Hope to solve this problem soon...
 
 Kindest regards,
 Masaru
 
 On 2012/02/09, at 8:23, Ryan Schmidt wrote:
 
> 
> On Feb 8, 2012, at 15:41, Alagazam.net Subversion wrote:
>> On Feb 7, 2012, at 15:44, Masaru Kitajima wrote:
>>> On 2012/02/08, at 6:36, Daniel Shahaf wrote:
 What is the output of
 
 % ssh sectio...@section-9.sakura.ne.jp svnserve -t
>>> 
>>> It is as below:
>>> 
>>> ( success ( 2 2 ( ) ( edit-pipeline svndiff1 absent-entries 
>>> commit-revprops depth log-revprops partial-replay ) ) ) 
>>> 
>>> and then stops. A prompt is not shown.
> 
>> 
>> This symptom of not getting any prompt back reminds me of a totally
>> non-svn related "bug" but a network error I encountered some time ago.
> 
> Not seeing a prompt in this case is not a bug; it's expected behavior. 
> svnserve is not an interactive program that has a prompt. It's a 
> Subversion server; the above test demonstrated that svnserve is running 
> correctly and is waiting for a Subversion client to connect to it.
> 
> 
> 
 
 <><><><><><><><><><><><><><><><><><><><><><><><><><>
 Manager / Photographer / Lecturer / Writer
 Masaru Kitajima
 
 E-mail:tachi.sil...@gmail.com
 blog:http://www.section-9.jp/blog/bluez/
 
 <><><><><><><><><><><><><><><><><><><><><><><><><><>
 
>> 
>> <><><><><><><><><><><><><><><><><><><><><><><><><><>
>> Manager / Photographer / Lecturer / Writer
>> Masaru Kitajima
>> 
>> E-mail:tachi.sil...@gmail.com
>> blog:http://www.section-9.jp/blog/bluez/
>> 
>> <><><><><><><><><><><><><><><><><><><><><><><><><><>
>> 

<><><><><><><><><><><><><><><><><><><><><><><><><><>
Manager / Photographer / Lecturer / Writer
Masaru Kitajima

E-mail:tachi.sil...@gmail.com
blog:http://www.section-9.jp/blog/bluez/

<><><><><><><><><><><><><><><><><><><><><><><><><><>



Re: predecessor count for the root node-revision is wrong message

2012-02-08 Thread Nico Kadel-Garcia
On Wed, Feb 8, 2012 at 7:42 PM, Daniel Shahaf  wrote:
> Daniel Shahaf wrote on Thu, Feb 09, 2012 at 01:46:45 +0200:
>> Jason Wong wrote on Wed, Feb 08, 2012 at 15:32:05 -0800:

>> Get xxd.exe from http://www.vim.org/ and cat.exe and sed.exe from
>> http://gnuwin32.sf.net (or from Cygwin).  Delete from the script the
>> line that uses the 'head' command.
>
> There is a second use of 'head', which you shouldn't delete.  So
> instead, just get head.exe from the same place as the other two, or use
> the following kind of statement:

Or install CygWin and run the scripts from inside CygWin. This does
present end-of-line issues, so be very careful about using "svn:eol
native" properties.

>
>    my $line = do {
>        open FOO, "perl -V 2>&1 |";
>        ;
>    };
>
> Lastly, there's a 'sed' invocation that uses single-quoted arguments.
> All it does is "print the input up to the first empty line" --- feel
> free to implement it differently.  (One way:
>
>    my @lines = split /\n/, `command | goes | here`;
>    $_ and print or last for @lines;
>
> Both of these examples could do with some error checking.)
>
> Daniel
> (yes, there's also a neater way to do this without split(). but it's
> not a Perl class here)


[no subject]

2012-02-08 Thread d . guthmann
Hello,

we run a subversion-server with apache and access it through https. Now we want 
to grant also external developers access to our repositories.
As subversion-client we use subclipse via JavaHL under Windows. The https-Port 
on the server is not reachable from any external network.

I've now found the subversion-feature "svn+ssh" and I would like to use it as a 
tunnel from those external developers computer.

So the URL would be "svn+ssh://user@hostname:220/srv/svn/project/" - normally 
we use the URL "https://hostname/repos/projekt/";

Would it work properly (e.g. executing hooks) or is it a problem to access one 
repository in two different ways? The URL 
"svn+ssh://user@hostname:220/srv/svn/projekt/" suggests that we are bypassing 
the svn-Module...

We also use some access-control features like "AuthzSVNAccessFile" in the 
Apache-configuration - am I right assuming that those access-control doesn't 
take effect when accessing over svn+ssh://?

Thanks in Advance.

Rgds.
Dieter
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


Re:

2012-02-08 Thread Nico Kadel-Garcia
On Thu, Feb 9, 2012 at 1:59 AM,   wrote:
> Hello,
>
> we run a subversion-server with apache and access it through https. Now we 
> want to grant also external developers access to our repositories.
> As subversion-client we use subclipse via JavaHL under Windows. The 
> https-Port on the server is not reachable from any external network.
>
> I've now found the subversion-feature "svn+ssh" and I would like to use it as 
> a tunnel from those external developers computer.
>
> So the URL would be "svn+ssh://user@hostname:220/srv/svn/project/" - normally 
> we use the URL "https://hostname/repos/projekt/";
>
> Would it work properly (e.g. executing hooks) or is it a problem to access 
> one repository in two different ways? The URL 
> "svn+ssh://user@hostname:220/srv/svn/projekt/" suggests that we are bypassing 
> the svn-Module...

As somone who strongly encourages the use of svn+ssh for security
reasons, I can tell you there are security model differences. The
ownership of the repository for Apache access is usually "apache". The
ownership for svn+ssh, or svn, is usually a designated user such as
"svn", so you have to make sure the repository is accessible to
read/write for both users, *or* switch entirely to svn+ssh for write
access, or do somethng complicated. There are complicated ways to do
this, but I don't recomend them.

You'll also need to rethink your password handling or key access
model. Since the svn+ssh access works best with SSH keys designed to
force the  "svnserve" command with a hardcoded user name, you'll need
a method to handle the SSH keys, both to add them and to expire them
as needed.

The Subversion "red book" is actually quite good about explaining
this: it doesn't go into as much detail about supporting multiple
access methods as you might like.

> We also use some access-control features like "AuthzSVNAccessFile" in the 
> Apache-configuration - am I right assuming that those access-control doesn't 
> take effect when accessing over svn+ssh://?

I'm afraid not. You'll need to use some of the more Subversion
internal systems, such as pre-commit.

> Thanks in Advance.
>
> Rgds.
> Dieter
> --
> Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
> belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


Re:

2012-02-08 Thread Ulrich Eckhardt

Am 09.02.2012 07:59, schrieb d.guthm...@gmx.net:

we run a subversion-server with apache and access it through https.
Now we want to grant also external developers access to our
repositories. [...] The https-Port on the server is not reachable from any
external network.

I've now found the subversion-feature "svn+ssh" and I would like to
use it as a tunnel from those external developers computer.


Nico already gave you bunch of good hints, but I'd like to point out a 
different approach: Since you don't want to make the HTTPS port 
available to the outside[1] but are willing to allow SSH connections, 
you could simply tunnel the HTTPS port. In order to use the SVN server, 
you would then simply set up an SSH tunnel and use 
"https://localhost:12345/srv/svn/project"; as URL. Or you go the whole 
way and install a VPN solution.



Uli


[1] You don't explicitly say that, but that would have been the first 
approach otherwise.

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