You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Daniel Shahaf <d....@daniel.shahaf.name> on 2010/07/29 20:32:10 UTC

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

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?

jason_zhuyx wrote on Thu, Jul 29, 2010 at 09:59:56 -0700:
> 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@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 <an...@gmail.com> wrote:
> From: Andy Levy <an...@gmail.com>
> Subject: Re: svn update -r $revision could hang if $revsion is greater than HEAD
> To: "jason_zhuyx" <ja...@yahoo.com>
> Cc: users@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.
> 
> 
> 
>       

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

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
jason_zhuyx wrote on Mon, Aug 09, 2010 at 08:58:55 -0700:
> The URL is like svn://svn-server-01/Project/trunk. How should I use svn+ssh?

I said: 

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

You are not using svn+ssh://, and I wasn't suggesting that you switch to
doing that.

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

Posted by jason_zhuyx <ja...@yahoo.com>.
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....@daniel.shahaf.name>

To: "jason_zhuyx" <ja...@yahoo.com>


Cc: users@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" <ja...@yahoo.com>
To: "Daniel Shahaf" <d....@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....@daniel.shahaf.name>

To: "jason_zhuyx" <ja...@yahoo.com>


Cc: users@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" <ja...@yahoo.com>

To: users@subversion.apache.org


Cc: "Jason Zhu" <ja...@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@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 <an...@gmail.com> wrote:
From: Andy Levy <an...@gmail.com>
Subject: Re: svn update -r $revision could hang if $revsion is greater than HEAD
To: "jason_zhuyx" <ja...@yahoo.com>
Cc: users@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.


      

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

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
[ 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?

> Thanks,
> - Jason
>  
> ---- Orginal Message ----
> From: "Daniel Shahaf" <d....@daniel.shahaf.name>
> 
> To: "jason_zhuyx" <ja...@yahoo.com>
> 
> 
> Cc: users@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" <ja...@yahoo.com>
> 
> To: users@subversion.apache.org
> 
> 
> Cc: "Jason Zhu" <ja...@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@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 <an...@gmail.com> wrote:
> From: Andy Levy <an...@gmail.com>
> Subject: Re: svn update -r $revision could hang if $revsion is greater than HEAD
> To: "jason_zhuyx" <ja...@yahoo.com>
> Cc: users@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.
> 
> 
>       

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

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
[ 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?

> Thanks,
> - Jason
>  
> ---- Orginal Message ----
> From: "Daniel Shahaf" <d....@daniel.shahaf.name>
> 
> To: "jason_zhuyx" <ja...@yahoo.com>
> 
> 
> Cc: users@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" <ja...@yahoo.com>
> 
> To: users@subversion.apache.org
> 
> 
> Cc: "Jason Zhu" <ja...@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@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 <an...@gmail.com> wrote:
> From: Andy Levy <an...@gmail.com>
> Subject: Re: svn update -r $revision could hang if $revsion is greater than HEAD
> To: "jason_zhuyx" <ja...@yahoo.com>
> Cc: users@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.
> 
> 
>