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

Re: $WCREV$ filled in incorrectly in TortoiseSVN 1.9.5, Build 27581 - 64 Bit

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 22 Apr 2017 15:24:30 +0200

On 19.04.2017 03:25, Lewis Collier wrote:
> I have a small project with all source files in the same folder under
> Windows 10 on a Lenovo Yoga 910.
>
>
>
> I have cpp source file (SurfaceStim_frame.cpp) that shows as being at
> revision 857 yet when I run
>
>
>
> "C:\Program Files\TortoiseSVN\bin\SubWCRev.exe" .
> ../Sources/HGAHAS_SVINFO.h__ ../Sources/HGAHAS_SC_SVINFO.h -F

-F means you're not using the .subwcrevignore file.

> "C:\Program Files\TortoiseSVN\bin\SubWCRev.exe" .
> ../Sources/HGAHAS_SVINFO.h__ ../Sources/HGAHAS_SC_SVINFO.h -f

-f is more likely what you intended: it includes folders to determine
the wc rev.

> $WCREV$ in HGAHAS_SVINFO.h__ gets replaced with 856 instead of the
> expected 857.
>
> The .h files created by SubWCRev.exe is
>
>
>
> t_SVINFO HGAHAS_RevInfo={ /*WCREV$, */ ("856"),
>
> /*WCDATE$, */ ("2017/04/18 20:44:08"),
>
> /*WCNOW$, */ ("2017/04/18 21:22:49"),
>
> /*WCRANGE$,*/ ("856"),
>
> /*WCURL$ */
> ("https://192.168.1.5/svn/Software/HGA-HAS_Utilities/SurfaceStim")
>
> };
>

So the WCURL points to HGA-HAS_Utilities/SurfaceStim, but the file with
rev 857 is in HGA-HAS_Utilities/Sources.

Either run SubWCRev for that path, or if you've included the file via
svn:externals pass the -e flag to SubWCRev.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3231120
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2017-04-22 15:24:40 CEST

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