git.git
17 years agoMinor code cleanups and ported some p4 interfacing code over to the p4 python mode.
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>
17 years agoChanged the import mechanism to write to git fast-import through a pipe instead of...
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>
17 years agoRemoved unused p4cat function and added helper function for the perforce python inter...
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>
17 years agoSpeed up the import of individual files from Perforce into git by passing the output...
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>
17 years agoSome fixes to the timezone conversion between the date of a perforce change and the...
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>
17 years agoImplemented basic support for converting the date of the perforce change to the git...
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>
17 years agoSlightly improved help usage output and made specifying the trailing slash for the...
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>
17 years agoAdded basic support for specifying the depot path to import from as well as the range...
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>
17 years agoInitial import of a python script to import changesets from Perforce into git.
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>