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

Re: Feature request: SubWCRev if not inside a working copy

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Mon, 19 Oct 2009 14:10:23 +0100

2009/10/18 Gingko <from_tigris_at_nospam.homelinux.org>:
> Hello,
> I make use of SubWCRev in order to automatically include SVN revision number
> inside source files in Visual Studio (2005 or 2008) projects.
> It works fine as long as the project is located inside a working copy, but I
> sometimes need to copy the same projects outside working copies for
> miscellaneous purposes.
> Unfortunately, if I execute it outside a working copy, it exits with the
> following error message without doing anything :
>  SubWCRev : '<directory path>' is not a working copy
> This makes difficult to synchronize projects with local copies because it
> needs to make specific changes to project's local copies for this only
> reason.
> Would it be possible to add an option to SubWCRev, making it running without
> error outside working copies, by processing templates with generic default
> values in this case ?
> Other options could also be added for tweaking these default values (at
> least SVN "Highest committed revision number") if needed. I would like to
> specify something like 0, 9999 or 65535 if the project is not a working
> copy, for example.

The sole purpose of SubWCRev is to extract version information from a
working copy. Why would you want to use it on something which is not a
working copy? I don't understand your need to export projects (make it
unversioned) and then pretend that it is versioned.


:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-10-19 15:10:47 CEST

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