gitweb.git
Avoid calling fstat for every imported file (slow!... Simon Hausmann Wed, 31 Jan 2007 21:38:07 +0000 (22:38 +0100)

Avoid calling fstat for every imported file (slow!) and instead read the file data first into the python process and use the length of the bytes read for the size field of git fast-import.

Signed-off-by: Simon Hausmann <hausmann@kde.org>

Ported the remaining functions that parsed p4 shell... Simon Hausmann Wed, 31 Jan 2007 21:31:28 +0000 (22:31 +0100)

Ported the remaining functions that parsed p4 shell output over to the p4 python interface.

Signed-off-by: Simon Hausmann <hausmann@kde.org>

Instead of parsing the output of "p4 users" use the... Simon Hausmann Wed, 31 Jan 2007 21:19:18 +0000 (22:19 +0100)

Instead of parsing the output of "p4 users" use the python objects of "p4 -G users".

Signed-off-by: Simon Hausmann <hausmann@kde.org>

Minor code cleanups and ported some p4 interfacing... Simon Hausmann Wed, 31 Jan 2007 21:13:17 +0000 (22:13 +0100)

Minor code cleanups and ported some p4 interfacing code over to the p4 python mode.

Signed-off-by: Simon Hausmann <hausmann@kde.org>

Changed the import mechanism to write to git fast-impor... Simon Hausmann Wed, 31 Jan 2007 20:54:56 +0000 (21:54 +0100)

Changed the import mechanism to write to git fast-import through a pipe instead of having p4-fast-export write to stdout and let the caller connect it to git fast-import.

Signed-off-by: Simon Hausmann <hausmann@kde.org>

Removed unused p4cat function and added helper function... Simon Hausmann Wed, 31 Jan 2007 19:48:39 +0000 (20:48 +0100)

Removed unused p4cat function and added helper function for the perforce python interface (p4Cmd).

Signed-off-by: Simon Hausmann <hausmann@kde.org>

Speed up the import of individual files from Perforce... Simon Hausmann Wed, 31 Jan 2007 19:16:26 +0000 (20:16 +0100)

Speed up the import of individual files from Perforce into git by passing the output of "p4 print" directly to git fast-import. Also try to set the mode of the file in git correctly based on file type heuristics.

Signed-off-by: Simon Hausmann <hausmann@kde.org>

Some fixes to the timezone conversion between the date... Simon Hausmann Wed, 31 Jan 2007 18:43:16 +0000 (19:43 +0100)

Some fixes to the timezone conversion between the date of a perforce change and the git commit.

Signed-off-by: Simon Hausmann <hausmann@kde.org>

Implemented basic support for converting the date of... Simon Hausmann Wed, 31 Jan 2007 15:39:46 +0000 (16:39 +0100)

Implemented basic support for converting the date of the perforce change to the git format. The timezone isn't correctly set up yet though.

Signed-off-by: Simon Hausmann <shausman@trolltech.com>

Slightly improved help usage output and made specifying... Simon Hausmann Wed, 31 Jan 2007 08:49:41 +0000 (09:49 +0100)

Slightly improved help usage output and made specifying the trailing slash for the depot path optional.

Signed-off-by: Simon Hausmann <shausman@trolltech.com>

Added basic support for specifying the depot path to... Simon Hausmann Wed, 31 Jan 2007 08:39:20 +0000 (09:39 +0100)

Added basic support for specifying the depot path to import from as well as the range of perforce changes.

Signed-off-by: Simon Hausmann <shausman@trolltech.com>

Initial import of a python script to import changesets... Simon Hausmann Tue, 30 Jan 2007 23:16:59 +0000 (00:16 +0100)

Initial import of a python script to import changesets from Perforce into git.

Signed-off-by: Simon Hausmann <shausman@trolltech.com>