[Pkg-bazaar-commits] ./bzr/unstable r186: doc: directly import diffs

mbp at sourcefrog.net mbp at sourcefrog.net
Fri Apr 10 07:51:21 UTC 2009


------------------------------------------------------------
revno: 186
committer: mbp at sourcefrog.net
timestamp: Thu 2005-04-07 13:20:10 +1000
message:
  doc: directly import diffs
modified:
  doc/random.txt
-------------- next part --------------
=== modified file 'doc/random.txt'
--- a/doc/random.txt	2005-03-21 22:29:49 +0000
+++ b/doc/random.txt	2005-04-07 03:20:10 +0000
@@ -237,3 +237,17 @@
 
 
 * Fix up diffs for files without a trailing newline
+
+-----
+
+* Directly import diffs!  It seems a bit redundant to need to rescan
+  the directory to work out what files diff added/deleted/changed when
+  all the information is there in the diff in the first place.
+  Getting the exact behaviour for added/deleted subdirectories etc
+  might be hard.
+
+  At the very least we could run diffstat over the diff, or perhaps
+  read the status output from patch.  Just knowing which files might
+  be modified would be enough to guide the add and commit.
+  
+  Given this we might be able to import patches at 1/second or better.



More information about the Pkg-bazaar-commits mailing list