Author Topic: What command-line utility creates patch files?  (Read 3846 times)

Le Compilateur

  • Posts: 315
  • Turrets: +14/-19
What command-line utility creates patch files?
« on: June 02, 2008, 08:27:38 pm »
I would like to create a patch for people who want to use my QVM but also want to apply their own changes. What command-line utility do I use for this? Is it patch, diff, or something else I haven't heard of?
I'm a developer! If you'd like to contribute to the Equilibrium QVM project or download the latest version, please visit this thread.

QVMs now compile under Leopard; get the patch here. Requires SVN r1053 or later.

Plague

  • Posts: 238
  • Turrets: +13/-13
Re: What command-line utility creates patch files?
« Reply #1 on: June 02, 2008, 08:37:54 pm »
cd to your qvm's directory and use
Code: [Select]
svn diff > filename.patch

Le Compilateur

  • Posts: 315
  • Turrets: +14/-19
Re: What command-line utility creates patch files?
« Reply #2 on: June 02, 2008, 08:42:07 pm »
You mean the source code directory (such as ~/tremulous-svn/) or the actual directory where the QVM is?

Whatever, I will try this on my own with the source directory.

NVM this worked great. Thanks!
« Last Edit: June 02, 2008, 08:46:07 pm by Le Compilateur »
I'm a developer! If you'd like to contribute to the Equilibrium QVM project or download the latest version, please visit this thread.

QVMs now compile under Leopard; get the patch here. Requires SVN r1053 or later.