[Help-Req ]Redmine Patches with SVN?
Added by Leon Chang over 13 years ago
Hello,
I Installed REDMINE 1.0.5 on Linux Ubuntu 10.10 and Subversion is installed on Windows server 2008,My SVN repository is get connected with REDMINE. Now I want to make patches of REDMINE,I use tutorial on REDMINE but unable to get that and have following question. I really appreciate if some one help me out
Creating a patch file
Download the development copy of Redmine? From where I can download the Development copy and in which directory use to save that?
Make your changes Do you mean changes from SVN? (MY svn is installed on another machine Windows Server 2008 how I can do my changes?
Run svn diff > PATCH_NAME.diff in you Redmine folder. Change PATCH_NAME to something that describes the purpose.
I want patch files from Head revison to lowest revision of branch- How can I run that?
Upload the patch file to an issue and share (This step is cleared)
Applying a patch file
To apply a patch file you can use the patch program. (What type pf Programe and where to download that?)
Change into your Redmine directory (the one with app, test, and config folders)
How to change Redmine Directory
Run patch -p0 < PATCH_NAME.diff
How to run that?
Please help me with details and scratch. I hope it will also useful for different users.
MY Installation Package Details are:
Ruby Version: 1.807 (i686-Linux)
Ruby Gem Version: 1.3.7
Rack Version=1.0
Rail Version=2.3.5
Active Recored Version=2.3.5
Application root= /var/www/redmine
Database adapter= mysql
Enviroment= production
Thanks
Replies (5)
RE: [Help-Req ]Redmine Patches with SVN?
-
Added by Felix Schäfer over 13 years ago
The patch
program (patch
really is the name of the program) is installed in most linux distributions by default, install it if it's not. From what I gather you're trying to apply a patch you've found on redmine.org somewhere, right?
RE: [Help-Req ]Redmine Patches with SVN?
-
Added by Leon Chang over 13 years ago
Please help me Step wise and mentioned above. I really appreciate
RE: [Help-Req ]Redmine Patches with SVN?
-
Added by Felix Schäfer over 13 years ago
Do you want to apply a patch or create a patch?
RE: [Help-Req ]Redmine Patches with SVN?
-
Added by Leon Chang over 13 years ago
First want to create a Patch and then apply
RE: [Help-Req ]Redmine Patches with SVN?
-
Added by Felix Schäfer over 13 years ago
You will need the svn
executable on the machine you want to develop your patch and the patch
executable on the machine you want to apply the patch.
Regarding how to create and apply patches per se, there are a lot of tutorials out there, try googling for them: http://lmgtfy.com/?q=svn+create+apply+patch