[Python-Dev] Rietveld integration into Roundup

"Martin v. Löwis" martin at v.loewis.de
Thu Oct 7 23:04:54 CEST 2010

Am 04.10.2010 03:56, schrieb Daniel Stutzbach:
> On Sat, Oct 2, 2010 at 3:55 PM, "Martin v. Löwis" <martin at v.loewis.de
> <mailto:martin at v.loewis.de>> wrote:
>     I'll have to come up with a better way to determine the branch
>     which a patch was created on.
> That would also be helpful for those of us using DVCS software to talk
> to the svn server. :-)

Not sure in what way that would be helpful: I know *have* a better way
to determine the branch a patch was created on, but I completely fail
to see how it would help the DVCS software users. I take the svn
revision number from the patch, and then search back in history until
I get a revision where all chunks patch cleanly without any changes
to the line numbers; this has already helped a lot. I also have a
database listing all file names, so I can deal with patches that were
created for a subdirectory.

However, if I get something like

diff -r e981b6cc56b0 Include/longintrepr.h
--- a/Include/longintrepr.h	Thu Oct 07 03:12:19 2010 +0200
+++ b/Include/longintrepr.h	Thu Oct 07 13:53:41 2010 +0200

I have no clue where I should look for the base revision
that the patch was created against. I could guess that the base
revision was probably created on Oct 07 3:12:19, which would make
that r85299. Not sure how reliable this is, though - will the
DVCS software always use the same time stamps in the diff for the
base version as are recorded in the original repository?

Also, there are no directories called "a" and "b" in the repository.
Will DVCS software always use these pseudo directories?


More information about the Python-Dev mailing list