[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: check WC rev

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-03-15 10:49:01 CET

Simon Large wrote:
> Hi Stefan,
>
> Douglas Stonham's recent mail set me thinking about mixed revision
> working copies. We don't currently have the equivalent of svnversion,
> except as a standalone tool in SubWCRev.exe, so there is no easy way to
> spot a mixed-rev WC.

You can't spot a mixed-rev WC with svnversion either. svnversion will
show you the minimum and the maximum revision, but that doesn't mean
that you did an 'svn up -rXXX' on a file. It just shows you the min
revision of files which haven't been updated with all the others (try
it: change a file, commit and then run svnversion _without_ doing an
update first).

> How about adding that reporting to the 'Check for modifications' dialog,
> so like svnversion, we report a summary of the range of revisions in the
> local WC, whether there are local mods, whether the WC is switched, etc.
> The summary would need no UI, you 'just' gather that info as you are
> trawling to check for mods and present a single line summary in the grey
> area.

I'm afraid there's no way to tell that a file has been updated to an
earlier revision from gathering the status (at least, not that I know of).

Hmmm - while messing around with svnversion and 'svn up -r' I found
something very disturbing:
cd TortoiseSVN
svn log Release_procedure.txt
(log shows that the revision this file was added is r2110)
svn up Release_procedure.txt -r2110
  D Release_procedure.txt
  updated to revision 2110

the file was deleted (ok, I should have expected that)

But now, if I do an
svn up
the file isn't added again!!!

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 Tue Mar 15 10:49:36 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.