You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Kevin Williams <ke...@qwest.net> on 2006/11/08 18:57:41 UTC

Unix patch program

I have been using Eclipse to apply patches from contributors and I 
continue to have problems when patches contain additions.  I would like 
to try the Unix patch utility.  Can someone provide the options needed 
when using the Unix "patch" command to apply a patch created from some 
relative location, to the same location to be patched?  I think I just 
need the correct value for "p":

    patch -pnum <patchfile  

Thanks,

--Kevin


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: Unix patch program

Posted by Jeremy Boynes <jb...@apache.org>.
--dry-run is also useful

On Nov 8, 2006, at 9:59 AM, Davanum Srinivas wrote:

> -p0
>
> -- dims
>
> On 11/8/06, Kevin Williams <ke...@qwest.net> wrote:
>> I have been using Eclipse to apply patches from contributors and I
>> continue to have problems when patches contain additions.  I would  
>> like
>> to try the Unix patch utility.  Can someone provide the options  
>> needed
>> when using the Unix "patch" command to apply a patch created from  
>> some
>> relative location, to the same location to be patched?  I think I  
>> just
>> need the correct value for "p":
>>
>>     patch -pnum <patchfile
>>
>> Thanks,
>>
>> --Kevin
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>>
>>
>
>
> -- 
> Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service  
> Developers)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: Unix patch program

Posted by Davanum Srinivas <da...@gmail.com>.
-p0

-- dims

On 11/8/06, Kevin Williams <ke...@qwest.net> wrote:
> I have been using Eclipse to apply patches from contributors and I
> continue to have problems when patches contain additions.  I would like
> to try the Unix patch utility.  Can someone provide the options needed
> when using the Unix "patch" command to apply a patch created from some
> relative location, to the same location to be patched?  I think I just
> need the correct value for "p":
>
>     patch -pnum <patchfile
>
> Thanks,
>
> --Kevin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org