Hello *!
I would like to check in a batch file, whether my working copy is still identical to HEAD.
Reason: an automatic build creates a tag (after the build) and I want to make sure that the input files are unchanged.
Steps:
The problem:
If a commit in one of the input files happens between (1) and (3), the build results don’t match the input after (3).
I could tag the source with revision of (1) and the output with the revision of (3), but that is ugly and normally unnecessary (nobody is supposed to do a check in while a to-be-tagged (testing or) release candidate is built).
But if my input files change while building and tagging, results will be inconsistent.
So I would like to tag with the revision of the commit (3) and either
(a) check before tagging, that the input has not been changed in between and abort or
(b) check after tagging and remove the inconsistent tag.
Svn diff does not seem to have a suitable return code. It returns 0 whether it has found a difference or not.
Does anyone have an idea how I could accomplish my goal?
Regards
Hartmut
--
You received this message because you are subscribed to the Google Groups "TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tortoisesvn...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/204feee6-2e33-48a1-bd5d-c0fe44093cf3n%40googlegroups.com.