Author Topic: Hooking a script to "add file to project"  (Read 4654 times)

Offline geiermeier

  • Multiple posting newcomer
  • *
  • Posts: 19
Hooking a script to "add file to project"
« 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.

Offline ShureG

  • Single posting newcomer
  • *
  • Posts: 6
Re: Hooking a script to "add file to project"
« Reply #1 on: March 13, 2009, 06:42:31 pm »
That would be very useful indeed. Any ideas?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Hooking a script to "add file to project"
« Reply #2 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...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ