[Pkg-bazaar-commits] ./bzr-builddeb/trunk r206: Add -g0 to patch command to make sure that patch never tries to access RCS.
James Westby
jw+debian at jameswestby.net
Thu May 15 13:29:37 UTC 2008
------------------------------------------------------------
revno: 206
committer: James Westby <jw+debian at jameswestby.net>
branch nick: trunk
timestamp: Fri 2008-01-25 15:58:32 +0000
message:
Add -g0 to patch command to make sure that patch never tries to access RCS.
modified:
import_dsc.py
-------------- next part --------------
=== modified file 'import_dsc.py'
--- a/import_dsc.py 2008-01-25 15:42:10 +0000
+++ b/import_dsc.py 2008-01-25 15:58:32 +0000
@@ -105,7 +105,6 @@
return ''
-
def common_directory(names):
"""Determine a single directory prefix from a list of names"""
prefixes = set()
@@ -384,8 +383,8 @@
def _patch_tree(self, patch, basedir):
"""Patch a tree located at basedir."""
filter_proc = self._make_filter_proc()
- patch_cmd = ['patch', '--strip', '1', '--quiet', '-f', '--directory',
- basedir]
+ patch_cmd = ['patch', '-g', '0', '--strip', '1', '--quiet', '-f',
+ '--directory', basedir]
patch_proc = Popen(patch_cmd, stdin=filter_proc.stdout, close_fds=True)
for line in patch:
filter_proc.stdin.write(line)
More information about the Pkg-bazaar-commits
mailing list