jelmer/python-fastimport.git
15 years agoEliminate the existing file-id cache altogether
Ian Clatworthy [Fri, 21 Aug 2009 15:34:14 +0000 (01:34 +1000)]
Eliminate the existing file-id cache altogether

15 years agolookup file-ids in inventories instead of a cache
Ian Clatworthy [Fri, 21 Aug 2009 15:32:31 +0000 (01:32 +1000)]
lookup file-ids in inventories instead of a cache

15 years agoFix git-bzr mark compatibility issue (Gonéri Le Bouder)
Ian Clatworthy [Fri, 21 Aug 2009 15:00:50 +0000 (01:00 +1000)]
Fix git-bzr mark compatibility issue (Gonéri Le Bouder)

15 years agoupdate NEWS
Ian Clatworthy [Fri, 21 Aug 2009 14:53:42 +0000 (00:53 +1000)]
update NEWS

15 years agoLocalGitBzrDirFormat has no repository_format
Gonéri Le Bouder [Fri, 21 Aug 2009 14:49:20 +0000 (16:49 +0200)]
LocalGitBzrDirFormat has no repository_format

15 years agoreally put ':' in the commit mark
Gonéri Le Bouder [Fri, 21 Aug 2009 14:47:35 +0000 (16:47 +0200)]
really put ':' in the commit mark

15 years agohandle an empty input stream (Gonéri Le Bouder)
Ian Clatworthy [Fri, 21 Aug 2009 14:01:24 +0000 (00:01 +1000)]
handle an empty input stream (Gonéri Le Bouder)

15 years agotweak GenericProcessor __init__ method
Ian Clatworthy [Fri, 21 Aug 2009 13:40:19 +0000 (23:40 +1000)]
tweak GenericProcessor __init__ method

15 years agomake implicit directory deletion recurse upwards
Ian Clatworthy [Fri, 21 Aug 2009 13:34:03 +0000 (23:34 +1000)]
make implicit directory deletion recurse upwards

15 years agotest and fix for implicit directory delete recursing up
Ian Clatworthy [Fri, 21 Aug 2009 13:30:20 +0000 (23:30 +1000)]
test and fix for implicit directory delete recursing up

15 years agoupdate existing tests to reflect implicit directory pruning bahaviour
Ian Clatworthy [Fri, 21 Aug 2009 13:12:22 +0000 (23:12 +1000)]
update existing tests to reflect implicit directory pruning bahaviour

15 years agoSmarter blob tracking by implicitly collecting statistics before starting the import
Ian Clatworthy [Fri, 21 Aug 2009 06:29:33 +0000 (16:29 +1000)]
Smarter blob tracking by implicitly collecting statistics before starting the import

15 years agoconfigrable output stream for InfoProcessor
Ian Clatworthy [Fri, 21 Aug 2009 05:53:23 +0000 (15:53 +1000)]
configrable output stream for InfoProcessor

15 years agoimplicitly uncompress if a fast-import source ends in .gz
Ian Clatworthy [Fri, 21 Aug 2009 04:34:13 +0000 (14:34 +1000)]
implicitly uncompress if a fast-import source ends in .gz

15 years agoeliminate the reference to my temporary cvs2svn branch
Ian Clatworthy [Fri, 21 Aug 2009 04:03:30 +0000 (14:03 +1000)]
eliminate the reference to my temporary cvs2svn branch

15 years agoadd the missing ":" since revid_to_mark are "committish"
Gonéri Le Bouder [Wed, 19 Aug 2009 12:11:40 +0000 (14:11 +0200)]
add the missing ":" since revid_to_mark are "committish"

15 years agoavoid STDERR crash
Gonéri Le Bouder [Wed, 19 Aug 2009 09:09:31 +0000 (11:09 +0200)]
avoid STDERR crash

Doing:
echo "" | bzr fast-import -

was enough to get a crash of bzr-fast-import.

15 years agoFix NameError running fast-export-from-git
Ian Clatworthy [Mon, 17 Aug 2009 23:26:50 +0000 (09:26 +1000)]
Fix NameError running fast-export-from-git

15 years agominor doc tweaks
Ian Clatworthy [Mon, 17 Aug 2009 22:52:54 +0000 (08:52 +1000)]
minor doc tweaks

15 years agofast-import destination argument, implicit repo creation & trunk working tree updating
Ian Clatworthy [Mon, 17 Aug 2009 06:28:47 +0000 (16:28 +1000)]
fast-import destination argument, implicit repo creation & trunk working tree updating

15 years agoUpdate the working tree for trunk implicitly
Ian Clatworthy [Mon, 17 Aug 2009 06:06:47 +0000 (16:06 +1000)]
Update the working tree for trunk implicitly

15 years agoupdate help
Ian Clatworthy [Mon, 17 Aug 2009 03:24:47 +0000 (13:24 +1000)]
update help

15 years agoCreate a repository implicitly if one doesn't already exist
Ian Clatworthy [Mon, 17 Aug 2009 01:44:34 +0000 (11:44 +1000)]
Create a repository implicitly if one doesn't already exist

15 years agoMerge fast-export-from-p4 (Matt McClure)
Ian Clatworthy [Mon, 17 Aug 2009 00:38:12 +0000 (10:38 +1000)]
Merge fast-export-from-p4 (Matt McClure)

15 years agoVerify the presence of the p4 command-line tool and the Perforce Python
Matt McClure [Mon, 17 Aug 2009 00:15:12 +0000 (20:15 -0400)]
Verify the presence of the p4 command-line tool and the Perforce Python
API.

15 years agoAdds a fast-export-from-p4 command.
Matt McClure [Sun, 16 Aug 2009 22:34:35 +0000 (18:34 -0400)]
Adds a fast-export-from-p4 command.

15 years agoadded fast-export-to-cvs
Ian Clatworthy [Fri, 14 Aug 2009 07:50:49 +0000 (17:50 +1000)]
added fast-export-to-cvs

15 years agoadded fast-export-from-mnt command
Ian Clatworthy [Thu, 13 Aug 2009 23:58:16 +0000 (09:58 +1000)]
added fast-export-from-mnt command

15 years agofix reporting of non-utf8 commits to go to stderr
Ian Clatworthy [Thu, 13 Aug 2009 09:40:46 +0000 (19:40 +1000)]
fix reporting of non-utf8 commits to go to stderr

15 years agomore help tweaks
Ian Clatworthy [Wed, 12 Aug 2009 15:01:01 +0000 (01:01 +1000)]
more help tweaks

15 years agotweak help formatting
Ian Clatworthy [Wed, 12 Aug 2009 14:20:56 +0000 (00:20 +1000)]
tweak help formatting

15 years agofirst batch of fast-export-from-xxx commands
Ian Clatworthy [Tue, 11 Aug 2009 13:27:57 +0000 (23:27 +1000)]
first batch of fast-export-from-xxx commands

15 years agoNEWS item and doco tweaks
Ian Clatworthy [Tue, 11 Aug 2009 13:26:48 +0000 (23:26 +1000)]
NEWS item and doco tweaks

15 years agoinitial cut at fast-export-from-svn
Ian Clatworthy [Tue, 11 Aug 2009 08:31:19 +0000 (18:31 +1000)]
initial cut at fast-export-from-svn

15 years agoback out implicit gz compression - can come later
Ian Clatworthy [Tue, 11 Aug 2009 07:42:59 +0000 (17:42 +1000)]
back out implicit gz compression - can come later

15 years agotweak fast-export-from-hg to use the same prefix for the mapping and status files
Ian Clatworthy [Tue, 11 Aug 2009 07:38:15 +0000 (17:38 +1000)]
tweak fast-export-from-hg to use the same prefix for the mapping and status files

15 years agoadd encoding option to fast-export-from-darcs
Ian Clatworthy [Tue, 11 Aug 2009 07:27:15 +0000 (17:27 +1000)]
add encoding option to fast-export-from-darcs

15 years agomerge darcs-fast-export fixes and better doc
Ian Clatworthy [Mon, 10 Aug 2009 23:59:54 +0000 (09:59 +1000)]
merge darcs-fast-export fixes and better doc

15 years agodarcs-fast-export: give a more reasonable error message when chardet is not found
Miklos Vajna [Mon, 10 Aug 2009 22:21:04 +0000 (00:21 +0200)]
darcs-fast-export: give a more reasonable error message when chardet is not found

15 years agodarcs-fast-export: document operands to options which have one
Miklos Vajna [Mon, 10 Aug 2009 22:20:43 +0000 (00:20 +0200)]
darcs-fast-export: document operands to options which have one

15 years agodarcs-fast-export: document the --authors-file option
Miklos Vajna [Mon, 10 Aug 2009 22:20:20 +0000 (00:20 +0200)]
darcs-fast-export: document the --authors-file option

15 years agodarcs-fast-export: use --include-merges option to bzr-log in x2d
Miklos Vajna [Mon, 10 Aug 2009 22:19:52 +0000 (00:19 +0200)]
darcs-fast-export: use --include-merges option to bzr-log in x2d

This fixes the recently failing testimport-bzr-x2d testcase.

15 years agodarcs-fast-export: bash4 fixes
Miklos Vajna [Mon, 10 Aug 2009 22:19:29 +0000 (00:19 +0200)]
darcs-fast-export: bash4 fixes

15 years agofirst cut at .gz implicit compression
Ian Clatworthy [Mon, 10 Aug 2009 14:48:14 +0000 (00:48 +1000)]
first cut at .gz implicit compression

15 years agoget fast-export-from-hg working
Ian Clatworthy [Mon, 10 Aug 2009 14:16:55 +0000 (00:16 +1000)]
get fast-export-from-hg working

15 years agofast-export-from-darcs - working but chardet usage/packaging still to be sorted out
Ian Clatworthy [Mon, 10 Aug 2009 07:47:28 +0000 (17:47 +1000)]
fast-export-from-darcs - working but chardet usage/packaging still to be sorted out

15 years agofirst cut at fast-export-from-hg - not working yet
Ian Clatworthy [Mon, 10 Aug 2009 07:24:46 +0000 (17:24 +1000)]
first cut at fast-export-from-hg - not working yet

15 years agoimplement fast-export-from-git
Ian Clatworthy [Mon, 10 Aug 2009 05:59:16 +0000 (15:59 +1000)]
implement fast-export-from-git

15 years agotweak required svn product name
Ian Clatworthy [Mon, 10 Aug 2009 03:30:22 +0000 (13:30 +1000)]
tweak required svn product name

15 years agoinitial cut at a simplified ui to xxx-fast-export
Ian Clatworthy [Mon, 10 Aug 2009 03:28:21 +0000 (13:28 +1000)]
initial cut at a simplified ui to xxx-fast-export

15 years agoupdate NEWS
Ian Clatworthy [Fri, 7 Aug 2009 13:24:30 +0000 (23:24 +1000)]
update NEWS

15 years agoGracefully handle email addresses with unicode characters
Ian Clatworthy [Fri, 7 Aug 2009 13:19:29 +0000 (23:19 +1000)]
Gracefully handle email addresses with unicode characters

15 years agoget tests passing again
Ian Clatworthy [Fri, 7 Aug 2009 13:17:00 +0000 (23:17 +1000)]
get tests passing again

15 years agoprune directories that become empty after a delete or rename
Ian Clatworthy [Fri, 7 Aug 2009 12:32:59 +0000 (22:32 +1000)]
prune directories that become empty after a delete or rename

15 years agoFix dump_str to ensure CommitCommand.file_iter is an interator, not a callable
Ian Clatworthy [Fri, 7 Aug 2009 07:55:02 +0000 (17:55 +1000)]
Fix dump_str to ensure CommitCommand.file_iter is an interator, not a callable

15 years agoSmarter selection of branch format based on shared repository format
Ian Clatworthy [Fri, 7 Aug 2009 07:04:04 +0000 (17:04 +1000)]
Smarter selection of branch format based on shared repository format

15 years agodelegate commit message escaping to the serializer if it's a modern one
Ian Clatworthy [Fri, 7 Aug 2009 05:06:06 +0000 (15:06 +1000)]
delegate commit message escaping to the serializer if it's a modern one

15 years agoForce parser to generate commit messages in unicode - even when not in utf8 in the...
Ian Clatworthy [Fri, 7 Aug 2009 05:04:20 +0000 (15:04 +1000)]
Force parser to generate commit messages in unicode - even when not in utf8 in the input stream

15 years agoNEWS item wrt darcs-fast-export
Ian Clatworthy [Fri, 7 Aug 2009 02:38:44 +0000 (12:38 +1000)]
NEWS item wrt darcs-fast-export

15 years agomerge darcs-fast-export (Miklos Jayna)
Ian Clatworthy [Fri, 7 Aug 2009 02:33:38 +0000 (12:33 +1000)]
merge darcs-fast-export (Miklos Jayna)

15 years agoMerge darcs-fast-export
Miklos Vajna [Sat, 25 Jul 2009 11:12:15 +0000 (13:12 +0200)]
Merge darcs-fast-export

15 years agoget rid of HACKING, as we won't merge the side branches to bzr-fastimport
Miklos Vajna [Sat, 25 Jul 2009 10:19:13 +0000 (12:19 +0200)]
get rid of HACKING, as we won't merge the side branches to bzr-fastimport

15 years agoupdate NEWS
Ian Clatworthy [Thu, 23 Jul 2009 07:03:35 +0000 (17:03 +1000)]
update NEWS

15 years agofix inv-delta generation when deleting directories
Ian Clatworthy [Thu, 23 Jul 2009 06:56:36 +0000 (16:56 +1000)]
fix inv-delta generation when deleting directories

15 years agoIntegate latest (25-May-2009) hg-fast-export
Ian Clatworthy [Thu, 23 Jul 2009 04:55:18 +0000 (14:55 +1000)]
Integate latest (25-May-2009) hg-fast-export

15 years agoOpen 0.9 development
Ian Clatworthy [Thu, 23 Jul 2009 01:55:44 +0000 (11:55 +1000)]
Open 0.9 development

15 years agorelease 0.8
Ian Clatworthy [Thu, 23 Jul 2009 01:31:28 +0000 (11:31 +1000)]
release 0.8

15 years agoHere-document style commit messages (Samuel Bronson)
Ian Clatworthy [Mon, 20 Jul 2009 04:53:33 +0000 (14:53 +1000)]
Here-document style commit messages (Samuel Bronson)

15 years agoImplement here-document style input data.
Samuel Bronson [Sat, 18 Jul 2009 23:09:23 +0000 (19:09 -0400)]
Implement here-document style input data.

Fixes bug #400960.

15 years agoAdd a test for bug #400960.
Samuel Bronson [Sat, 18 Jul 2009 23:07:37 +0000 (19:07 -0400)]
Add a test for bug #400960.

15 years agogit-darcs: minor bugfix
D Herring [Tue, 14 Jul 2009 15:05:28 +0000 (17:05 +0200)]
git-darcs: minor bugfix

Fix error handling when adding a darcs remote with the same name two
times.

15 years agoAdd missing import
Lars Hoss [Thu, 2 Jul 2009 03:40:50 +0000 (13:40 +1000)]
Add missing import

15 years agogd: make find-git output similar to the find-darcs one
Miklos Vajna [Sun, 28 Jun 2009 22:38:00 +0000 (00:38 +0200)]
gd: make find-git output similar to the find-darcs one

15 years agoimprove typical workflow example
Miklos Vajna [Sun, 28 Jun 2009 22:31:05 +0000 (00:31 +0200)]
improve typical workflow example

15 years agodarcs-fast-export: allow hyphens in tag names, I think they're ok
Brian Warner [Fri, 26 Jun 2009 02:10:04 +0000 (19:10 -0700)]
darcs-fast-export: allow hyphens in tag names, I think they're ok

15 years agodarcs-fast-import: fix timezone processing
Brian Warner [Fri, 26 Jun 2009 02:05:21 +0000 (19:05 -0700)]
darcs-fast-import: fix timezone processing

I observed git-to-darcs resulting in a darcs patch with a timestamp that was
7 hours later than it should have been (I live in PDT, -0700). I think
get_date() was wrong: it generated a UTC-based string for darcs, but then
appended the committer's original timezone. Darcs thought this meant it
should treat the (UTC) string as localtime-in-that-timezone, and applied an
offset it shouldn't have.

If we only cared about preserving the committer time, then it would be
appropriate to pass a UTC string with no timezone into darcs. But we're
trying to record two things: the absolute commit time, and the localtime in
the committers timezone (i.e. the absolute commit time and the timezone in
which it occurred).

My new version of get_date() tries to accomplish this by parsing the
timezone-offset we get from git (well, from the git-fast-export -format
stream), turn it into a number of seconds, then add that number to the
absolute timestamp we got from the stream. Then it uses time.gmtime() to
render that (effectively getting a localtime string from the committer's
timezone), and then appends the same timezone string as before. Darcs will
then effectively undo this combination, to derive the absolute
seconds-since-epoch and also record the localtime string.

With this patch, my darcs timestamps appear the same as my git ones.

15 years agogit-darcs: change #!/bin/sh to /bin/bash, '$? == 0' is a bash-ism
Brian Warner [Fri, 26 Jun 2009 00:55:03 +0000 (17:55 -0700)]
git-darcs: change #!/bin/sh to /bin/bash, '$? == 0' is a bash-ism
(apparently), and /bin/sh is dash on some platforms (e.g. Ubuntu Hardy)

15 years agoupdate bzr and hg versions
Miklos Vajna [Thu, 25 Jun 2009 22:21:33 +0000 (00:21 +0200)]
update bzr and hg versions

15 years agoTAG 0.9
Miklos Vajna [Thu, 25 Jun 2009 21:48:59 +0000 (23:48 +0200)]
TAG 0.9

15 years agoupdates for 0.9
Miklos Vajna [Thu, 25 Jun 2009 21:47:09 +0000 (23:47 +0200)]
updates for 0.9

15 years agoport d667ba5 to darcs-fast-import
Miklos Vajna [Thu, 25 Jun 2009 21:41:38 +0000 (23:41 +0200)]
port d667ba5 to darcs-fast-import

no idea why did i forgot about it ;)

15 years agoMerge branch 'add-dfe-opts' of git://github.com/warner/darcs-fast-export
Miklos Vajna [Thu, 25 Jun 2009 21:31:31 +0000 (23:31 +0200)]
Merge branch 'add-dfe-opts' of git://github.com/warner/darcs-fast-export

* 'add-dfe-opts' of git://github.com/warner/darcs-fast-export:
  git-darcs: remember and pass options to darcs-fast-export

15 years agobzr-fast-export -> bzr-fast-export.py
Miklos Vajna [Thu, 25 Jun 2009 21:27:10 +0000 (23:27 +0200)]
bzr-fast-export -> bzr-fast-export.py

I just ran 'make' on the testsuite today and this is probably needed due
to a recent bzr / bzr-fastimport upgrade.

15 years agogit-darcs: remember and pass options to darcs-fast-export
Brian Warner [Thu, 25 Jun 2009 20:01:54 +0000 (13:01 -0700)]
git-darcs: remember and pass options to darcs-fast-export

15 years agoIgnore quotes around second path in a pair (Dmitri Paduchikh)
Ian Clatworthy [Tue, 14 Apr 2009 03:47:51 +0000 (13:47 +1000)]
Ignore quotes around second path in a pair (Dmitri Paduchikh)

15 years agoreport triggering commit when exception occurs
Ian Clatworthy [Thu, 9 Apr 2009 00:55:27 +0000 (10:55 +1000)]
report triggering commit when exception occurs

15 years agoupgrade tests to use --development6-rich-root
Ian Clatworthy [Wed, 8 Apr 2009 02:51:27 +0000 (12:51 +1000)]
upgrade tests to use --development6-rich-root

15 years agoimprove fast-export's handling of rename+delete combinations
Ian Clatworthy [Wed, 8 Apr 2009 02:36:34 +0000 (12:36 +1000)]
improve fast-export's handling of rename+delete combinations

15 years agofix round-tripping of committer & author when name is an email
Ian Clatworthy [Wed, 8 Apr 2009 02:33:08 +0000 (12:33 +1000)]
fix round-tripping of committer & author when name is an email

15 years agofaster export of revision range & improved diagnostics in fast-export
Ian Clatworthy [Tue, 7 Apr 2009 06:24:41 +0000 (16:24 +1000)]
faster export of revision range & improved diagnostics in fast-export

15 years agofix parsing when a rename old-path has spaces in it
Ian Clatworthy [Mon, 6 Apr 2009 20:56:27 +0000 (06:56 +1000)]
fix parsing when a rename old-path has spaces in it

15 years agofix rename adjustment & kind change logic in fast-export
Ian Clatworthy [Mon, 6 Apr 2009 20:30:19 +0000 (06:30 +1000)]
fix rename adjustment & kind change logic in fast-export

15 years agoadd -r option to fast-export
Ian Clatworthy [Mon, 6 Apr 2009 20:26:05 +0000 (06:26 +1000)]
add -r option to fast-export

15 years agohandle commit commands with no from clause and no sub-commands
Ian Clatworthy [Sun, 5 Apr 2009 11:54:17 +0000 (21:54 +1000)]
handle commit commands with no from clause and no sub-commands

15 years agouse inv deltas by default for all formats now: --classic to get old algorithm for...
Ian Clatworthy [Sat, 4 Apr 2009 14:33:50 +0000 (00:33 +1000)]
use inv deltas by default for all formats now: --classic to get old algorithm for packs

15 years agoadd autopack option to fast-import
Ian Clatworthy [Thu, 2 Apr 2009 07:08:19 +0000 (17:08 +1000)]
add autopack option to fast-import

15 years agofix blob tracking when -v not given
Ian Clatworthy [Thu, 2 Apr 2009 06:22:49 +0000 (16:22 +1000)]
fix blob tracking when -v not given

15 years agoblob reference counting, not just sticky vs otherwise
Ian Clatworthy [Thu, 2 Apr 2009 01:11:15 +0000 (11:11 +1000)]
blob reference counting, not just sticky vs otherwise

15 years agoincremental packing for chk formats
Ian Clatworthy [Fri, 27 Mar 2009 06:19:51 +0000 (16:19 +1000)]
incremental packing for chk formats

15 years agograceful handling of faulty revisions (David Reitter)
Ian Clatworthy [Wed, 25 Mar 2009 02:28:17 +0000 (12:28 +1000)]
graceful handling of faulty revisions (David Reitter)