* Use SetEnvironmentVariableA instead of SetEnvironmentVariable which is a macro
Issue pointed out by Buginator
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2748 4a71c877-e1ca-e34f-864e-861f7616d084
* Parse the "/autorevision.conf" file as last
* Add template class assign_once<T> which wraps a T object so that it can only be assigned to once (all following assignments will simply be NO-OPS)
* Make all RevisionInformation members an assign_once<T> object instead of a T object
* Make sure src/version.c can compile when there is little revision information available
* Add autorevision.conf which will provide a sane default for wc_uri ("trunk")
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2731 4a71c877-e1ca-e34f-864e-861f7616d084
* This class extracts revision info from a "var=value" style text file (can be used in tarballs)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2721 4a71c877-e1ca-e34f-864e-861f7616d084
* Add a new subclass of RevisionExtractor: RevSVNVersionQuery
* This subclass will use "svnversion" to additionally detect mixed revisions, modifications and switched paths in working copies
* Add the "low revision", modification and switch state to the output
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2720 4a71c877-e1ca-e34f-864e-861f7616d084
* This class uses the "Chain of Responsibility" pattern to delegate a task the current subclass cannot perform to a successor in the chain
* Make QuerySVN() and ParseFile() part of subclasses derived from RevisionExtractor
* Also make these functions function properly in the chain of responsibility
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2716 4a71c877-e1ca-e34f-864e-861f7616d084
* Allow the #definition of SVN_AUTOREVISION_STATIC before #include AutoRevision's output file
* When #defined to "static" it will mark all variables created in AutoRevision as static
* Additionally detect the "base-uri" of a working copy (e.g. "trunk", "branches/2.0", etc.) and dump it in the output header file
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2624 4a71c877-e1ca-e34f-864e-861f7616d084
* Make function WriteOutput const-correct
* Mark global variables static
* Add commandline option "+cstr" which results in Autorevision adding a C-style string into the produced header file
* When no revision information could be extracted from a working copy give an error message
* Add some comments
* Move some variables into a more local scope
* Don't use member function .close() on iostreams just before leaving scope (the destructor will take care of that!)
* Don't write the header file in binary mode
* Fix handling of do_translate
* Now DO dump revision date as well
* Add double-quotes around strings
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2578 4a71c877-e1ca-e34f-864e-861f7616d084
* Use C++ iostreams for output as well as input (which was already being used)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2577 4a71c877-e1ca-e34f-864e-861f7616d084