On Tue, Apr 26, 2005 at 11:44:42AM -0700, Greg KH wrote: > On Thu, Apr 21, 2005 at 05:32:16PM +1000, David Woodhouse wrote: > > Entirely untested. > > Doesn't work :( I take it back, it works just fine... My problem was that bk generates dates with a non-rfc compliant timezone string. And I was trying to apply patches exported from bk in plain text format (building a udev git tree...) The patch below to commit-tree.c fixes this issue, if anyone runs into this same issue (I wouldn't recommend it to be applied, as it's probably a one-off issue...) thanks, greg k-h -------------- Allow commit-tree to handle the bk date format. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- a/commit-tree.c 2005-04-25 22:08:49.000000000 -0700 +++ b/commit-tree.c 2005-04-26 20:46:37.000000000 -0700 @@ -204,6 +204,12 @@ else return; + /* Handle messed up bk dates */ + if (p[3] == ':') { + p[3] = p[4]; + p[4] = p[5]; + p[5] = p[6]; + } if (!isdigit(p[1]) || !isdigit(p[2]) || !isdigit(p[3]) || !isdigit(p[4])) return; - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Wed Apr 27 13:52:48 2005
This archive was generated by hypermail 2.1.8 : 2005-04-27 13:52:48 EST