From nobody@FreeBSD.org  Tue Nov 16 14:33:32 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CC9A5106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 16 Nov 2010 14:33:32 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id A0D068FC28
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 16 Nov 2010 14:33:32 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id oAGEXWCb004737
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 16 Nov 2010 14:33:32 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id oAGEXWmk004735;
	Tue, 16 Nov 2010 14:33:32 GMT
	(envelope-from nobody)
Message-Id: <201011161433.oAGEXWmk004735@www.freebsd.org>
Date: Tue, 16 Nov 2010 14:33:32 GMT
From: kenorb <kenorb@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: wrong message when trying to checkout using old repository path
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         152296
>Category:       ports
>Synopsis:       devel/subversion: wrong message when trying to checkout using old repository path
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lev
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 16 14:40:07 UTC 2010
>Closed-Date:    Fri Oct 21 13:12:04 UTC 2011
>Last-Modified:  Fri Oct 21 13:12:04 UTC 2011
>Originator:     kenorb
>Release:        FreeBSD 8.1-STABLE
>Organization:
>Environment:
>Description:

>How-To-Repeat:
> svn co http://svn.freebsd.org/viewvc/base/head/usr.bin/
svn: Repository moved permanently to '/viewvc/base/head/usr.bin/'; please relocate
>Fix:
The message should be:
svn: Repository moved permanently to '/base/head/usr.bin/'; please relocate


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: lme 
State-Changed-When: Wed Nov 17 17:58:51 UTC 2010 
State-Changed-Why:  
Just remove viewvc/ which is only for viewing the repository 
in your browser. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=152296 
State-Changed-From-To: closed->open 
State-Changed-By: arundel 
State-Changed-When: Wed Nov 17 18:01:47 UTC 2010 
State-Changed-Why:  
Back to open. Even if the user gave svn the wrong URl that doesn't mean it is 
OK for svn to return wrong information. 
Svn should in fact strip away the "/viewvc/" and tell the user that where he 
wants to point SVN at is '/base/head/usr.bin/' or if it cannot do that simply 
return an error that the URL is not valid. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=152296 
State-Changed-From-To: open->suspended 
State-Changed-By: arundel 
State-Changed-When: Thu Nov 18 16:58:58 UTC 2010 
State-Changed-Why:  
I'm very sorry for handling this PR inappropriatly. Somehow I was under the 
impression that we had a version of svn in the base tree. However that is not 
the case! 
I think marking this as suspended is the best option for now, since there 
was no patch attached to correct svn's handling of the wrong URL. 
Since the svn port seems to get updated very regularly we can assume that the 
development version of svn is still containing this issue. If somebody wants to 
provide a patch we could try convincing the svn developers to push it upstream 
in order to have it in one of the next svn releases and thus ports. 
A different approach would be to add a local ports patch to 
devel/subversion{-freebsd}/files. 


Responsible-Changed-From-To: freebsd-bugs->freebsd-ports 
Responsible-Changed-By: arundel 
Responsible-Changed-When: Thu Nov 18 16:58:58 UTC 2010 
Responsible-Changed-Why:  
This is a ports related PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=152296 

From: Eir Nym <eirnym@gmail.com>
To: arundel@freebsd.org
Cc: kenorb@gmail.com, freebsd-bugs@freebsd.org, freebsd-ports@freebsd.org, 
	FreeBSD Mail Lists <bug-followup@freebsd.org>
Subject: Re: misc/152296: wrong message when trying to checkout using old
 repository path
Date: Thu, 18 Nov 2010 20:38:48 +0300

 On 18 November 2010 20:15,  <arundel@freebsd.org> wrote:
 > Synopsis: wrong message when trying to checkout using old repository path
 >
 > State-Changed-From-To: open->suspended
 > State-Changed-By: arundel
 > State-Changed-When: Thu Nov 18 16:58:58 UTC 2010
 > State-Changed-Why:
 > I'm very sorry for handling this PR inappropriatly. Somehow I was under the
 > impression that we had a version of svn in the base tree. However that is not
 > the case!
 > I think marking this as suspended is the best option for now, since there
 > was no patch attached to correct svn's handling of the wrong URL.
 > Since the svn port seems to get updated very regularly we can assume that the
 > development version of svn is still containing this issue. If somebody wants to
 > provide a patch we could try convincing the svn developers to push it upstream
 > in order to have it in one of the next svn releases and thus ports.
 > A different approach would be to add a local ports patch to
 > devel/subversion{-freebsd}/files.
 >
 >
 > Responsible-Changed-From-To: freebsd-bugs->freebsd-ports
 > Responsible-Changed-By: arundel
 > Responsible-Changed-When: Thu Nov 18 16:58:58 UTC 2010
 > Responsible-Changed-Why:
 > This is a ports related PR.
 >
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=152296
 > _______________________________________________
 > freebsd-ports@freebsd.org mailing list
 > http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
 >
 
 I see only two possible ways to fix this problem:
 If you have checkouted source tree before, you can use following
 command to relocate it:
 find /usr/src -name .svn|xargs -n 1 -J XXX sed -i '.bak'
 's,http://svn.freebsd.org/viewvc/base/head/usr.bin/,http://svn.freebsd.org/base/head/usr.bin/,'
 XXX/entries
 
 If you can't checkout source tree with wrong url - fix your script,
 which check out source tree, but never svn.
Responsible-Changed-From-To: freebsd-ports->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Nov 20 13:41:58 UTC 2010 
Responsible-Changed-Why:  
Canonicalize assignment. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=152296 
Responsible-Changed-From-To: freebsd-ports-bugs->lev 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Feb 4 03:41:32 UTC 2011 
Responsible-Changed-Why:  
Apparently this deals with devel/subversion, although it may not be just 
a local change.  lev, can you comment please? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=152296 
State-Changed-From-To: suspended->closed 
State-Changed-By: lev 
State-Changed-When: Fri Oct 21 13:11:45 UTC 2011 
State-Changed-Why:  

Please, report to upstream developers. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=152296 
>Unformatted:
