You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Stefan Fuhrmann <st...@wandisco.com> on 2013/04/12 13:07:20 UTC
Externals path display
Hi,
While playing around with large working copies, I discovered
that we display externals as rather odd relative paths:
/home/stefan/develop/trunk$ ./subversion/svn/svn st /mnt/hdds/apache
X ../../../../mnt/hdds/apache/lucene/pylucene/tags/pylucene_3_0_2/jcc
X ../../../../mnt/hdds/apache/lucene/pylucene/tags/pylucene_3_0_3/jcc
X ../../../../mnt/hdds/apache/lucene/pylucene/tags/pylucene_3_1_0/jcc
So, they are given relative to the current path, but I had expected
them to be relative to the working copy root. Maybe the outermost
working copy root in case of nested externals.
-- Stefan^2.
--
*Join one of our free daily demo sessions on* *Scaling Subversion for the
Enterprise <http://www.wandisco.com/training/webinars>*
*
*
Re: Externals path display
Posted by Stefan Fuhrmann <st...@wandisco.com>.
That has been a fresh checkout with /trunk from about 1 week ago
and the command line has been copied verbatim into my post.
The only special circumstance here is that the external repositories
were not available during checkout. Maybe those errors interfered
with table contents being written?
-- Stefan^2.
On Fri, Apr 12, 2013 at 3:42 PM, Bert Huijben <be...@qqmail.nl> wrote:
> There is as far as I can tell no code in Subversion that can generate ../
> style paths from an abspath for you. Are you sure this is how you
> invoked ‘svn’ or did you invoke ‘svn' via a similar ../ path (maybe via a
> script)? It should show paths in exactly the same way as you provided them
> to svn.
>
> Otherwise I would guess that the externals table somehow contains an
> invalid path format.
>
> Bert
>
> Sent from Windows Mail
>
> *From:* Stefan Fuhrmann
> *Sent:* Friday, April 12, 2013 1:07 PM
> *To:* Subversion Development
>
> Hi,
>
> While playing around with large working copies, I discovered
> that we display externals as rather odd relative paths:
>
> /home/stefan/develop/trunk$ ./subversion/svn/svn st /mnt/hdds/apache
> X ../../../../mnt/hdds/apache/lucene/pylucene/tags/pylucene_3_0_2/jcc
> X ../../../../mnt/hdds/apache/lucene/pylucene/tags/pylucene_3_0_3/jcc
> X ../../../../mnt/hdds/apache/lucene/pylucene/tags/pylucene_3_1_0/jcc
>
> So, they are given relative to the current path, but I had expected
> them to be relative to the working copy root. Maybe the outermost
> working copy root in case of nested externals.
>
> -- Stefan^2.
>
> --
> *Join one of our free daily demo sessions on* *Scaling Subversion for the
> Enterprise <http://www.wandisco.com/training/webinars>*
>
> *
>
>
> *
>
--
*Join one of our free daily demo sessions on* *Scaling Subversion for the
Enterprise <http://www.wandisco.com/training/webinars>*
*
*
Re: Externals path display
Posted by Bert Huijben <be...@qqmail.nl>.
There is as far as I can tell no code in Subversion that can generate ../ style paths from an abspath for you. Are you sure this is how you invoked ‘svn’ or did you invoke ‘svn'via a similar ../ path (maybe via a script)? It should show paths in exactly the same way as you provided them to svn.
Otherwise I would guess that the externals table somehow contains an invalid path format.
Bert
Sent from Windows Mail
From: Stefan Fuhrmann
Sent: Friday, April 12, 2013 1:07 PM
To: Subversion Development
Hi,
While playing around with large working copies, I discovered
that we display externals as rather odd relative paths:
/home/stefan/develop/trunk$ ./subversion/svn/svn st /mnt/hdds/apache
X ../../../../mnt/hdds/apache/lucene/pylucene/tags/pylucene_3_0_2/jcc
X ../../../../mnt/hdds/apache/lucene/pylucene/tags/pylucene_3_0_3/jcc
X ../../../../mnt/hdds/apache/lucene/pylucene/tags/pylucene_3_1_0/jcc
So, they are given relative to the current path, but I had expected
them to be relative to the working copy root. Maybe the outermost
working copy root in case of nested externals.
-- Stefan^2.
--
Join one of our free daily demo sessions on Scaling Subversion for the Enterprise