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

Re: [TSVN] feature request

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-03-09 20:44:55 CET

Molle Bestefich wrote:

>>What does he use the $Rev keyword anyway? In Subversion, that keyword
>>reflects the "last committed revision", i.e. the revision in which that
>>file last was committed.
>
> Yes... We use that for all our software.
> Makes it easy to pinpoint it in the repository should there be trouble.

That's not true. If there's a problem, in 99% of all cases it isn't just
in one single file but in several files. Of course, if your project only
has one file...

>>It doesn't reflect the revision of the repository!
>>Usually people want the revision of the repository, and that's what the
>>SubWCRev.exe tool is for (see the download page).
>
> Forgive my ignorance.
> Why would they want that?
> I'm thinking 'because it looks pretty if a distributed package has
> components which carry the same version number', but I can't convince
> myself that that's reasonable.

I assume you've used CVS before and you're used to it quite well. So I
think you haven't gotten around why Subversion is now replacing CVS ;)

See, a project consists of several files, and the state of the whole
project tells you if there's a problem or not, not just the state of one
single file.

So if you have a problem and want to pinpoint that in the repository,
the problem is in a specific revision of the project, not in a revision
of a file. That's why Subversion uses global revision numbers and not
per-file revisions like CVS.

You can look at TSVN: we use SubWCRev to assign the revision number to
each release. That way if someone reports a problem we can easily go
back to that state of the project and try to reproduce it.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Mar 9 20:45:39 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.