Ask a Question related to PHP Development, Design and Development.
-
Charley #1
Diff file trouble applying?
I've got a diff file that I think is a patch for a bunch of file in a
directory. How do I apply this file?
I thought it was
#patch myfile.diff
But that does nothing. I must be missing something. The diff file
contains diff's for a nuch of files, not just a single file. Do I need a
copy of the original file as was or does the diff file contain everything
it needs to make the patch(s)?
J
Charley Guest
-
trouble with log file
I have a problem in the past few days on my unix machine runing checkpoint. there is a file in the /export/home/logs/log_date... that contains... -
Applying one master page to all documents in a book file
Is there a way to apply one master page to all documents in a book file? -
Applying Actions to File Browser Selections
I use the file browser a lot. I also use Batch processing a lot. I also have a lot of actions. To apply a set of actions to a set of images in a... -
Applying ICS gives error 2 - file missing....
I have worked with ICS for years on several setups. But this one I can't fix - anyone out there that can? - Have created a dialup connection that... -
BuildEnvironment trouble after applying SUN-Patch
Since applying on of suns latests os-patches we got many trouble with our build-platform. Sun replaced the name of on internal structure. In sight... -
Andy Hassall #2
Re: Diff file trouble applying?
On Sat, 11 Oct 2003 20:13:27 GMT, Charley <johnson@jhilb.com> wrote:
Usually it's:>I've got a diff file that I think is a patch for a bunch of file in a
>directory. How do I apply this file?
>
>I thought it was
>
>#patch myfile.diff
>
>But that does nothing. I must be missing something. The diff file
>contains diff's for a nuch of files, not just a single file. Do I need a
>copy of the original file as was or does the diff file contain everything
>it needs to make the patch(s)?
patch -p0 < myfile.diff
Or possibly -p1 depending on what directory you're in and whether the patch
included a top-level directory or not.
--
Andy Hassall (andy@andyh.co.uk) icq(5747695) ([url]http://www.andyh.co.uk[/url])
Space: disk usage analysis tool ([url]http://www.andyhsoftware.co.uk/space[/url])
Andy Hassall Guest
-
Charley #3
Re: Diff file trouble applying?
Andy Hassall <andy@andyh.co.uk> wrote in
news:ebpgovgegtbnb4mhppln110it2er9jctl3@4ax.com:
OK, thanks, I'll give that a try.
> On Sat, 11 Oct 2003 20:13:27 GMT, Charley <johnson@jhilb.com> wrote:>>>>I've got a diff file that I think is a patch for a bunch of file in a
>>directory. How do I apply this file?
>>
>>I thought it was
>>
>>#patch myfile.diff
>>
>>But that does nothing. I must be missing something. The diff file
>>contains diff's for a nuch of files, not just a single file. Do I
>>need a copy of the original file as was or does the diff file contain
>>everything it needs to make the patch(s)?
> Usually it's:
>
> patch -p0 < myfile.diff
>
> Or possibly -p1 depending on what directory you're in and whether the
> patch
> included a top-level directory or not.
>
> --
> Andy Hassall (andy@andyh.co.uk) icq(5747695) ([url]http://www.andyh.co.uk[/url])
> Space: disk usage analysis tool ([url]http://www.andyhsoftware.co.uk/space[/url])
>Charley Guest



Reply With Quote

