Syntax to apply this patch
Hello
what is the syntax to apply this patch [1]? and do I need to cd to a certian directory first before applying it ? Is the file its looking for called transaction.py ? Thanks Glenn [1] diff --git a/transaction.py b/transaction.py index 98bdec2..3cfa4f5 100644 --- a/transaction.py +++ b/transaction.py @@ -313,6 +313,7 @@ class PolicyWithPriorities(Policy): for pathpkg in path[1:]: deps[pathpkg] = True queue.append(path+[upgpkg]) + queue.pop(0) for upg in pkg.upgrades: for prv in upg.providedby: for prvpkg in prv.packages: |
You're using a different version of diff to me, by the looks of things, but most probably you can just apply the patch with
Code:
patch transaction.py patchFileName |
The syntax you are looking for is:
Code:
patch -p1 < my.patch |
All times are GMT -5. The time now is 08:09 AM. |