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

Re: Viewing "tags" for a file

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-01-16 15:04:45 CET

"Garrick Olson" <Garrick.Olson@Aceva.com> writes:

> If I am using "svn copy ..." to label releases, how do I find out which
> releases contained a particular file?
>
> I thought I would be able to see this using the "svn log" command, but
> it doesn't seem to display this. Am I missing something simple?

On the contrary -- you're desiring something quite complex in
Subversion. Subversion's filesystem is optimized with respect to tags
and branches in *exactly* the opposite direction from CVS.

   - To make a tag or branch in CVS is an O(N) operation across all
     the files included in the tag. In Subversion, it's O(1).

   - To see a list of tags and branches that file belongs to in CVS is
     O(1). In Subversion, it's currently not possible (for a couple
     of reasons[1]), but would be something quite a bit > O(1) if it
     were.

--C-Mike

[1] This operation isn't possible in Subversion for two main reasons:

    - we can currently crawl version history of files only in a
      backwards direction (youngest to oldest), and we need to be able
      to also crawl forward.

    - we don't discriminate between branches and copies (which, despite
      some of the opposing theory spouted on this list, really are
      different version control operations), so the answer you'd get
      about a list of such things could contain false positives.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 16 15:54:40 2004

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.