News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Weird Autorevision problem

Started by sethjackson, September 29, 2006, 11:00:30 PM

Previous topic - Next topic

sethjackson

Since a few days ago every time I build Code::Blocks the revision gets set to 0.  :shock: I thought it might be a problem with my working copy. So I checked out a new copy (trunk of course), and the same thing happened. :P Is it just me or is anyone else having this problem?

Here is what C::B tells me....

Quote
-------------- Build: sdk in Code::Blocks ---------------
Running target pre-build steps
tools/autorevision/autorevision +wx +int +t . sdk/autorevision.h
'svn' is not recognized as an internal or external command,
operable program or batch file.
Warning: could not open input file.
This does not seem to be a revision controlled project.
Revision set to 0.

.....

nfz

#1
Yep, noticed that over the last two days but haven't bothered to investigate yet since it wasn't effecting my workflow :).  Seems to have corresponded to when I updated Tortoise SVN client but maybe its a coincidence.

sethjackson

Quote from: nfz on September 29, 2006, 11:13:33 PM
Yep, noticed that over the last two days but haven't bothered to investigate yet since it wasn't effecting my workflow :).  Seems to have corresponded to when I updated Tortoise SVN client but maybe its a coincidence.

Aha I just updated TortoiseSVN too.......

thomas

That is what I expected to happen one day, despite those people saying "this will never happen". :)
It is the reason why autorevision first tries to get the revision from svn rather than scanning the entries file.

QuoteSubversion 1.4 uses a new format for the working copy. The update is done automatically, you won't even notice it. But once the working copy has been updated, you won't be able to access it with clients linked to older versions of the Subversion library.

So, you should install svn on your PC, or you'll have to live with it for a couple of days until I update the tool for 1.4.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

sethjackson

Quote from: thomas on September 29, 2006, 11:38:32 PM
That is what I expected to happen one day, despite those people saying "this will never happen". :)
It is the reason why autorevision first tries to get the revision from svn rather than scanning the entries file.

QuoteSubversion 1.4 uses a new format for the working copy. The update is done automatically, you won't even notice it. But once the working copy has been updated, you won't be able to access it with clients linked to older versions of the Subversion library.

So, you should install svn on your PC, or you'll have to live with it for a couple of days until I update the tool for 1.4.

Ok I prolly should get used to using the command line client anyways. :)