MANIFEST.in
author Patrick Mezard <pmezard@gmail.com>
Fri, 27 May 2011 21:50:09 +0200
branchstable
changeset 957 9cb57d78b54f
parent 238 e4a389eca1b9
permissions -rw-r--r--
patch: refactor file creation/removal detection The patcher has to know if a file is being created or removed to check if the target already exists, or to actually unlink the file when a hunk emptying it is applied. This was done by embedding the creation/removal information in the first (and only) hunk attached to the file. There are two problems with this approach: - creation/removal is really a property of the file being patched and not its hunk. - for regular patches, file creation cannot be deduced at parsing time: there are case where the *stripped* file paths must be compared. Modifying hunks after their creation is clumsy and prevent further refactorings related to copies handling. Instead, we delegate this job to selectfile() which has all the relevant information, and remove the hunk createfile() and rmfile() methods. [ original upstream message ]
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
191
4c3775e904b6 Add MANIFEST.in
Christian Ebert <blacktrash@gmx.net>
parents:
diff changeset
     1
# $Id$
4c3775e904b6 Add MANIFEST.in
Christian Ebert <blacktrash@gmx.net>
parents:
diff changeset
     2
4c3775e904b6 Add MANIFEST.in
Christian Ebert <blacktrash@gmx.net>
parents:
diff changeset
     3
include tests/test-keyword tests/test-keyword.out
220
943e1e1ea042 Include MANIFEST.in in dist; hgignore MANIFEST
Christian Ebert <blacktrash@gmx.net>
parents: 191
diff changeset
     4
943e1e1ea042 Include MANIFEST.in in dist; hgignore MANIFEST
Christian Ebert <blacktrash@gmx.net>
parents: 191
diff changeset
     5
include MANIFEST.in