[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn update -r $revision could hang if $revsion is greater than HEAD

From: jason_zhuyx <jason_zhuyx_at_yahoo.com>
Date: Mon, 9 Aug 2010 08:58:55 -0700 (PDT)

The URL is like svn://svn-server-01/Project/trunk. How should I use svn+ssh?
 
I downloaded 1.6.12 from http://subversion.tigris.org. I will try that in Visual Studio.
 
 

---- Orginal Message ----Friday, August 6, 2010 10:37 PM

From: "Daniel Shahaf" <d.s_at_daniel.shahaf.name>

To: "jason_zhuyx" <jason_zhuyx_at_yahoo.com>

Cc: users_at_subversion.apache.org

[ adding users@ back to CC ]

jason_zhuyx wrote on Fri, Aug 06, 2010 at 16:01:10 -0700:
> Hi Daniel,
> Could you please show me couple examples of using this "svn+ssh://" thing? Where would I expect to see the prompt?

When you did a checkout, what URL did you use? (You can find that via 'svn info'.)

> I downloaded the source code, how usually (e.g. in what tools/IDE) to run in debug for a particular command?

You're on Windows, so you can build/debug using MS Visual C Express 2008.
There are build instructions in the INSTALL file.

The source of which version did you download?

 

---- Orginal Message ----Friday, August 6, 2010 4:01 PM

From: "jason_zhuyx" <jason_zhuyx_at_yahoo.com>
To: "Daniel Shahaf" <d.s_at_daniel.shahaf.name>

 
Hi Daniel,
Could you please show me couple examples of using this "svn+ssh://" thing? Where would I expect to see the prompt?
 
I downloaded the source code, how usually (e.g. in what tools/IDE) to run in debug for a particular command?
 
Thanks,
- Jason
 
---- Orginal Message ----
From: "Daniel Shahaf" <d.s_at_daniel.shahaf.name>

To: "jason_zhuyx" <jason_zhuyx_at_yahoo.com>

Cc: users_at_subversion.apache.org

If you're using svn+ssh://, maybe ssh is prompting you?

Can you run the offending command under a debugger and investigate where it spends its time?

 
---- Orginal Message ----
From: "jason_zhuyx" <jason_zhuyx_at_yahoo.com>

To: users_at_subversion.apache.org

Cc: "Jason Zhu" <jason_zhuyx_at_yahoo.com>

http://subversion.tigris.org/issues/show_bug.cgi?id=3687
 
Sorry I should have come to this mailing list before submitting my question on Issue Tracker.
 
Since this issue can only be reproduced on some build machines in my company, I'd like to ask some experts' help on how to do the troubleshooting/debug to understand why such issue exists.
 
Thanks
 

Could someone provide help to me on how to test such issue on my systems? Thanks
to hwright and Andy Levy's feedback. But unfortunately, I have tried on several
machines and this issue repeats (even after I upgrade svn to version 1.6.12
r955767).

On CentOS (2.6.18-128.el5 CentOS release 5.3), the svn version is 1.6.2
(r37639). run `svn up -r 90000` on command line will not return until press
Ctrl+Z. And I had to run `svn cleanup` or the workspace was locked.

On Windows XP SP3, the latest svn I am testing is 1.6.12 (r955767), installed
from CollabNet. The command prompt will never return to next prompt until I
have to kill svn.exe in Task Manager.

I found such issue when I was writing a script which could accept an invalid
revision and hang, so that I had to test the revision range by myself.

I'd appreciate any hint for me to figure out why this happens on my
installations.

------- Additional comments from hwright_at_tigris.org Mon Jul 19 17:11:51 -0700
2010 -------
Can not reproduce using 1.6.12 (tested against the asf repo):

$ svn up -r1000000
subversion/libsvn_ra_neon/util.c:723: (apr_err=160006)
svn: No such revision 1000000
$

--- On Tue, 7/20/10, Andy Levy <andy.levy_at_gmail.com> wrote:
From: Andy Levy <andy.levy_at_gmail.com>
Subject: Re: svn update -r $revision could hang if $revsion is greater than HEAD
To: "jason_zhuyx" <jason_zhuyx_at_yahoo.com>
Cc: users_at_subversion.apache.org
Date: Tuesday, July 20, 2010, 6:24 AM

XP SP3 here, 1.6.6 (r40053), I cannot reproduce the issue.

C:\_Projects\workspace\proj>svn up
At revision 5604.

C:\_Projects\workspace\proj>svn up -r 6000
svn: No such revision 6000

C:\_Projects\workspace\proj>svn --version
svn, version 1.6.6 (r40053)
   compiled Oct 19 2009, 09:36:48

No hangs.
Received on 2010-08-09 17:59:36 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.