Question about creating patch
From: Neo Anderson <javadeveloper999_at_yahoo.co.uk>
Date: Sat, 28 Nov 2009 01:17:21 +0000 (GMT)
I participate in a project which uses svn as its repository and I do not have previlege to commit source back to the svn. And I encounter a problem.
Previously I alway use command `svn diff > /tmp/jira_number.patch` to create patch. There is no problem if I just modify existing source code. Now due to I create several java source files which previously did not exist in the svn repository, using `svn diff > /tmp/jira_number.patch` won't create patch that contains newly created source files. For instance, in svn there contained files
messaging
Now I add new files
messaging
Files like d.java, e.java and c.java won't be included in the jira_number.patch file if executing `svn diff > /tmp/jira_number.patch`. And I can't commit source so I can't do e.g. `svn add` to add source back to the repository.
What is the better way (best practice) to create patch so the developers would be easier to apply or test patch?
Thanks.
------------------------------------------------------
Please start new threads on the <users_at_subversion.apache.org> mailing list.
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.