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:

  1.  Create a fresh working copy
  2.  Build
  3.  Commit build results (I know that this is not the recommended way, but 
the project members want/need it that way)
  4.  Tag

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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn/DB4PR10MB628824CE3769018AB8ED0095FC049%40DB4PR10MB6288.EURPRD10.PROD.OUTLOOK.COM.

Reply via email to