Automatically generated files still under version control


#1

Hi,

I commited some changes that I made over the last couple of days to
gr-trellis (make distcheck works fine).
I realized that some files in gr-trellis/src/lib are still under version
control, while they are not supposed to be since they are
automatically generated:

trellis_generated.i
Makefile.gen

I tried several combinations of the svn propset command but couldn’t
make it work. Can someone more knowledable on svn fix this.

Thanks
Achilleas


#2

Achilleas A. wrote:

I commited some changes that I made over the last couple of days to
gr-trellis (make distcheck works fine).
I realized that some files in gr-trellis/src/lib are still under version
control, while they are not supposed to be since they are
automatically generated:

trellis_generated.i
Makefile.gen

I just fixed this in r4472.

I tried several combinations of the svn propset command but couldn’t
make it work. Can someone more knowledable on svn fix this.

You would just need to delete the files from the repository using ‘svn
del’, as in:

$ svn del trellis_generated.i Makefile.gen

Then do a check-in with an appropriate log comment.

(But I just did this for you.)

Johnathan C.
Corgan Enterprises LLC
http://corganenterprises.com


#3

Johnathan C. wrote:

I tried several combinations of the svn propset command but couldn’t
make it work. Can someone more knowledable on svn fix this.

By the way, you’ll need to also edit the svn:ignore property for that
directory, and add all the generated files so they don’t show up as ? in
the status:

$ svn propedit svn:ignore .

It will accept wildcards, but make sure you don’t overdo it and match
files that it shouldn’t.

Johnathan C.
Corgan Enterprises LLC
http://corganenterprises.com


#4

Jonathan,

either Makefile.gen is automatically generated (as the waning says),
but I don’t know how :slight_smile: or the warning is misleading…

After ./bootstrap and configure,
make complains that it is not there.
I guess that’s why it was in the svn repository in the first place.
Should have known better vefore I second guess the gurus.

Could you please advice how to regenerate Makefile.gen
Once I do that, I will upload it to the repo.

Thanks
Achilleas

Johnathan C. wrote:

Makefile.gen
del’, as in:


Achilleas A.
Associate Professor
EECS Department Voice : (734)615-4024
UNIVERSITY OF MICHIGAN Fax : (734)763-8041
Ann Arbor, MI 48109-2122 E-mail: removed_email_address@domain.invalid
URL: http://www-personal.engin.umich.edu/~anastas/



#5

Achilleas A. wrote:

Could you please advice how to regenerate Makefile.gen
Once I do that, I will upload it to the repo.

I see you fixed this. Thanks.

-Johnathan