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

Re: svn diff doesn't include repository path of changed files

From: Jack Repenning <jrepenning_at_collab.net>
Date: 2003-08-19 02:11:10 CEST

At 6:47 PM -0500 8/18/03, Ben Collins-Sussman wrote:
>But otherwise, as garrett said, each
>directory is an independent working copy. A directory has no idea
>where the "root" of the working copy is

I don't think he's asking for the root of the working copy, nor the
synthetic place where a root might be if it were there but it ain't.
I think he's looking for repository-relative info:

At 11:02 AM +1000 8/18/03, David Sitsky wrote:
>Codestriker needs this information, to be able to link the file being
>modified with the corresponding file in the repository, so that it can
>retrieve the entire contents of this file, when displaying how the file
>appears before any changes, and after.

... and that *is* available in .svn/*, e.g.

> > svn info .bashrc
>Path: .bashrc
>Name: .bashrc
>Url: http://host/svn/jrepenning/trunk/home/.bashrc

Indeed, it seems like his goal is "some incantation that lets him
address the repository file in blissful disregard for all those messy
working copy details," and that is just exactly what this URL is!

> > svn cat http://host/svn/jrepenning/trunk/home/.bashrc
># .bashrc -*- sh -*-
>...

-- 
-==-
Jack Repenning
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
o: 650.228.2562
c: 408.835-8090
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 19 02:11:56 2003

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