Flávio Etrusco wrote:
On 6/30/06, Felipe Monteiro de Carvalho
<[EMAIL PROTECTED]> wrote:

On 6/30/06, Micha Nelissen <[EMAIL PROTECTED]> wrote:
> When doing a svn export, you still have the build number. That's where
> it's useful for.

And why do you need that file when doing a svn export? I didn´t understand.


Hmm, I got it. When doing 'svn export' (just like in 'cvs export'),
the control folders aren't created, so svn2revisioninc isn't able to
retrieve the current revision.

In that case svn2revsioninc creates a revision.inc with 'Unknown' or '' (look at the source).

>
> I'd prefer some other arrengement, but at least there's a reason for it :-)

Do this in the Lazarus dir:

svn export . \tmp\buildlazarus
cd \tmp\buildlazarus
make bigide USESVN2REVISIONINC=0

If revision.inc is _not_ in svn, compilation will fail. That is why it is svn.

Possible suggestions:
You ignore changes to that file (IIRC you can svn to ignore a certain file).
You think up and implement a better scheme.

Vincent

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to