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

Re: SubWCRev WCMODS substitution value

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 28 Jan 2008 19:06:00 +0100

Hautzenroeder, Brenna M wrote:
> I'm using SubWCRev to create a project header file, but I don't know if
> the output that I'm seeing is correct or not. Here's my setup:
> In a project/source directory:
> projectHeader_template.h -> versioned
> projectHeader.h -> versioned, output from SubWCRev
> and projectHeader_template.h
> When I run SubWCRev on projectHeader_template.h, the WCMODS value
> returns the false value instead of the true value, even though there are
> no local modifications before running SubWCRev (I've checked for local
> modifications, and Tortoise says there are none). So, there are only 2
> things I can think of which may be causing this:
> 1) It's a bug in SubWCRev, or

While I don't guarantee anything, it seems not very likely.

> 2) The fact that I have the output of SubWCRev versioned makes it
> locally modified once SubWCRev touches it.

No, SubWCRev first scans the working copy, *then* writes the result to
the target file.

> My guess is that it is #2, but that still seems odd that the output of
> the program affects the "input" substitution. If the only fix to this
> problem is that I need to unversion my projectHeader.h file, then that
> would be fine, just not optimal.

* which version are you using?
* do you pass '-e' to include externals?
* how did you check for local modifications with TSVN?

Remember that
missing/added/removed/conflicted/merged/replaced/obstructed entries also
mean 'local modification'.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-01-28 19:06:22 CET

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

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