Create Patch (standard format) from History view creates patch relative to a project [message #658174] |
Mon, 07 March 2011 04:55  |
Eclipse User |
|
|
|
Hi,
I want to create a patch in standard format (not git format) from a
local commit, then I create one from the history view by taking the last
local commit (a commit recording changes from several workspace
projects). The generated patch has path relative to project then I can't
apply it to a svn working copy (for example). While with the svn team
provider we have a option to create/apply a patch to a specific project
or to the whole workspace.
It is a know problem or a mistake of my part?
Regards.
|
|
|
|
|
|
Re: Create Patch (standard format) from History view creates patch relative to a project [message #658359 is a reply to message #658294] |
Tue, 08 March 2011 02:46  |
Eclipse User |
|
|
|
Originally posted by: esteban.dugueperoux.obeo.fr
On 07/03/2011 18:37, Robin Rosenberg wrote:
> On 2011-03-07 10.55, Esteban DUGUEPEROUX wrote:
>> Hi,
>>
>> I want to create a patch in standard format (not git format) from a
>> local commit, then I create one from the history view by taking the last
>> local commit (a commit recording changes from several workspace
>> projects). The generated patch has path relative to project then I can't
>> apply it to a svn working copy (for example). While with the svn team
>> provider we have a option to create/apply a patch to a specific project
>> or to the whole workspace.
>> It is a know problem or a mistake of my part?
>
> The git format patches generated by todays EGit don't use any extensions
> and work with any decent patch tool I know of. Sometimes you have to
> tell the tool to drop one level of directoris (the a/ b/ part), some
> figure it out. I'm not sure about SVN, but the default patch tool in
> Eclipse works.
>
> -- robin
Yes it works thanks for this info.
Regards
|
|
|
Powered by
FUDForum. Page generated in 0.03095 seconds