[p4] hm. files that should be version-controlled.
Arnt Gulbrandsen
arnt at gulbrandsen.priv.no
Tue May 9 05:18:30 PDT 2006
It occured to me today that many years ago, when using RCS and some sh
wrappers to do the job of a source control system, we had a simple
script to deal with this.
The script did:
1. Ask the build system what files it needs in order to build.
2. Ask the version control system what files it manages.
3. Subtract 2 from 1 and complain if there's anything left over.
Not patentable, I should think.
I wrote the same thing for jam+p4 now, as a work avoidance tactic if
truth be told. It was easy. A little bit of perl line noise. Much more
fun than my work today, and also much more fun than complaining on
perforce-user that the build breaks because people forget to p4 add.
Arnt
More information about the perforce-user
mailing list