Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: geiermeier on March 10, 2009, 08:58:46 am

Title: Hooking a script to "add file to project"
Post by: geiermeier on March 10, 2009, 08:58:46 am
What I want to do is call 'svn add' whenever a new file is added to the project.

Now it would be nice if someone could give me a short hint about how I would accomplish this. I've read most of the script documentation, I think but haven't found anything helpful.
Title: Re: Hooking a script to "add file to project"
Post by: ShureG on March 13, 2009, 06:42:31 pm
That would be very useful indeed. Any ideas?
Title: Re: Hooking a script to "add file to project"
Post by: MortenMacFly on March 13, 2009, 09:13:39 pm
That would be very useful indeed. Any ideas?
Can be easily done by a plugin.
Hence I don't know if that makes sense - consider that you will do add a file by accident sooner or later which will then be in SVN, too...