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

Re: [TSVN] SubWCRev update

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-04-09 22:59:57 CEST

Molle Bestefich wrote:
>>- VS.NET does _not_ compile files just because they're in your project.
>>Give it another extension (like TSVN does with the version.h file, the
>>template is called version.in).
>
> I'd loose completion and syntax highlighting.
> Possibly other stuff.
> And it's yeach ugly and needs a lot of setting up.

As I said: only keep the defines in that file, no other code stuff. If
you do that, what do you need completion and syntax highlighting for?

>>- If you use the revision number in more than one file, you're not using
>>it right. Every programming language knows includes. So have *one* file
>>with the revision number in it, and include that wherever you need it.
>
> I have multiple projects in one solution.

As does TSVN. The version.h file generated by SubWCRev from version.in
is used in TortoiseProc and TortoiseMerge.

> The amount of effort to use SubWCRev just keeps going up and up and up...

I don't understand what's so much work.

> I'm not saying this can't be done, I'm just saying it could be done in
> a much easier-to-use, shallower-learning-curve, less-complicated,
> overall prettier way.

I don't think so. Either you do it the SubWCRev way with template files,
or you do it the Subversion keyword way and have a lot of coding to do
to parse the strings. And some things won't even work because you can't
parse the string before use (e.g. in resources).

>>> - I'd have to answer to them why VS.Net complains about missing files
>>>when they check out the source code and open the project (it's because
>>>you have to run SubWCRev to make the files exist).
>>
>>If you add SubWCRev to the pre-build step, then VS.NET won't complain
>>about missing files.
>
> No.. Chicken/egg, the pre-build wont run before you build, and you
> can't build without opening the freshly-checked-out project first.

And why wouldn't it be possible to open the project? Please, before you
say anything more, have a look at how TSVN uses SubWCRev.

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 Sat Apr 9 23:00:21 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.