Print sane error when a fastimport file is incomplete.
[bzr-fastimport.git] / NEWS
blobcdbf788071288915dbbd99225129ed362d7a9b15
1 ============================
2 bzr-fastimport Release Notes
3 ============================
5 .. contents::
7 0.14 UNRELEASED
9 Bug fixes
10 ---------
12 * Print sane error when a fastimport file is incomplete.
13   (Jelmer Vernooij, #937972)
15 0.13 2012-02-29
17 Changes
18 -------
20 * bzr-fastimport no longer ships exporters for various other version
21   control systems. The versions of these exporters shipped with bzr-fastimport
22   have been outdated for some time. Better and more recent exporters
23   are widely available.
25 Compatibility
26 -------------
28 * Avoid using Tree.inventory directly, which is deprecated in bzr 2.6.
29   (Jelmer Vernooij)
31 * Reimport some modules removed from python-fastimport 0.9.2.
32   (Jelmer Vernooij, #693507)
34 Improvements
35 ------------
37 * Document the SOURCE argument for ``bzr fast-export``. (Jelmer Vernooij, #672926)
39 0.12 2012-02-09
41 Bug fixes
42 ---------
44 * Cope with non-utf8 characters in paths when importing.
45   (Jelmer Vernooij, #838980)
47 Features
48 --------
50 * New option --rewrite-tag-names for 'bzr fast-export'. (Alex Usov, #872601)
52 * New option --dont-squash-empty-commits for 'bzr fast-import-filter'.
53   (Alex Usov, #877303)
55 * Add --baseline option to ``bzr export``. (Andy Grimm, #893382)
57 0.11 2011-08-22
59 Bug fixes
60 ---------
62 * Fix internal error in 'bzr fast-import-info'. (Jelmer Vernooij, #730833)
64 * Setup.py no longer relies on bzrlib. (Jelmer Vernooij, #735201)
66 * Avoid Inventory.copy, which has disappeared in newer versions of Bazaar.
67   (Jelmer Vernooij, #485788)
69 * Allow "bzr fast-import-filter" to be used without first argument.
70   (Jelmer Vernooij, #792935)
72 * Remove --branches-path and --tags-path options from ``bzr fast-export-from-svn``.
73   These options are not supported by the underlying svn-fast-export.py yet.
74   (Jelmer Vernooij, #513747)
76 * In "plain" mode, skip tags that contain characters not valid in Git.
77   (Jelmer Vernooij, #386986)
79 * Support exporting files that are changed into directories.
80   (Henrik Nyberg, #631979)
82 0.10 08-Mar-2011
84 Changes
85 -------
87 * bzr-fastimport's file parsing and generation functionality has been exported into
88   separate upstream project called python-fastimport, that it now depends on.
89   python-fastimport can be retrieved from http://launchpad.net/python-fastimport.
91 Bug fixes
92 ---------
94 * Cope with non-ascii characters in tag names. (Jelmer Vernooij, #598060)
96 * Cope with non-ascii characters in symbolic links. (Daniel Clemente,
97    Jelmer Vernooij, #238365)
99 * In plain mode, don't export multiple authors. (David Kilzer, #496677)
101 * Fix indentation when starting p4 fails. (Jelmer Vernooij)
103 * SOURCE argument to bzr fast-import-filter is now optional, consistent with
104   examples. (Jelmer Vernooij, #477861)
106 * Support new marks file format introduced in (apparently) git 1.6.
107   (Ian Clatworthy, Jelmer Vernooij, Gabriel Filion, #347729)
109 * Allow entries without email address in user map. (Jelmer Vernooij, #576598)
111 * Strip leading slashes when exporting Subversion repositories.
112   (Jelmer Vernooij, #477869)
114 * Cope with non-utf8 characters in commit messages. (Jelmer Vernooij, #444896)
116 * Include download_url in setup.py for use on pypi. (Jelmer Vernooij, #456957)
118 * Fix incremental imports from incremental import streams.
119   (termie, Jelmer Vernooij, #328494)
121 0.9 28-Feb-2010
122 ===============
124 New Features
125 ------------
127 * The fast-import command now takes an optional but recommended
128   DESTINATION argument. A repository will be created at this
129   location and branches will be created within there. If the user
130   is running bzr 1.17 up to 2.0, format "2a" is used for these,
131   otherwise the default format is used. A format can be explicitly
132   given using the new --format option. (Ian Clatworthy)
134 * Wrapper commands simplifying the generation of fast-import
135   files from other tools are now provided. The general usage is:
137     bzr fast-export-from-xxx SOURCE project.fi
139   Before starting an export, these commands make an effort to
140   check that dependent tools are installed. So far, wrapper
141   commands are available for cvs, darcs, git, hg (Mercurial),
142   mnt (Monotone), p4 (Perforce) and svn (Subversion).
143   (Ian Clatworthy, Matt McClure)
145 * darcs-fast-export is now bundled. In fact, the project has
146   merged into this one for the purposes of ongoing bug fixing
147   and development. (Miklos Vajna)
149 * fast-export now supports a --no-plain parameter which causes
150   richer metadata to be included in the output using the
151   recently agreed 'feature' extension capability. The features
152   used are called multiple-authors, commit-properties and
153   empty-directories. (Ian Clatworthy)
155 * fast-import and fast-import-filter now support user mapping
156   via the new --user-map option. The argument is a file specifying
157   how user-ids should be mapped to preferred user-ids.
158   (Ian Clatworthy)
160 * svn-fast-export now supports an address option (to control the
161   default email domain) and a first-rev option (to select revisions
162   since a given one). (Ted Gould)
164 Improvements
165 ------------
167 * Large repositories now compress better thanks to a change in
168   how file-ids are assigned. (Ian Clatworthy, John Arbash Meinel)
170 * Memory usage is improved by flushing blobs to a disk cache
171   when appropriate. (John Arbash Meinel)
173 * If a fast-import source ends in ".gz", it is assumed to be in
174   gzip format and the stream is implicitly uncompressed. This
175   means fast-import dump files generated by fast-export-from-xxx
176   can be stored gzipped to save space. (Ian Clatworthy)
178 * The working tree is now implicitly updated for trunk. Other
179   branches still need to be explicitly created using 'bzr update'.
180   (Ian Clatworthy)
182 * Directories that become empty following a delete or rename of
183   one of their children are now implicitly pruned. If required,
184   this will be made optional at a later date.
185   (Tom Widmer, Ian Clatworthy)
187 * Blob tracking is now more intelligently done by an implicit
188   first pass to collect blob usage statistics. This eliminates
189   the need for an explicit 2-step process in all cases except
190   where stdin is used as the input source. (Ian Clatworthy)
192 * Updated the bundled version of hg-fast-export to be the latest
193   code (25-May-2009) from http://repo.or.cz/w/fast-export.git.
194   (Ian Clatworthy)
196 Bug Fixes
197 ---------
199 * Fixed the format used to create branches in a shared repository.
200   It now selects the best branch format based on the repository
201   format, rather than assume the default branch format is the right
202   one. (Ian Clatworthy)
204 * Fixed inventory delta generation when deleting directories.
205   (Previously the child paths included were relative to the
206   directory when they ought to be relative to the root.)
207   (Ian Clatworthy)
209 * Gracefully handle email addresses with unicode characters.
210   (Ian Clatworthy)
212 * Gracefully handle an empty input stream. (Gonéri Le Bouder)
214 * Gracefully handle git submodules by ignoring them.
215   (Ian Clatworthy)
217 * Get git-bzr working again. (Gonéri Le Bouder)
219 Documentation
220 -------------
222 * Improved documentation has been published in the Bazaar Data Migration
223   Guide: http://doc.bazaar-vcs.org/migration/en/data-migration/.
226 0.8 22-Jul-2009
227 ===============
229 Compatibility Breaks
230 --------------------
232 * ``exporters/bzr-fast-export`` has been replaced with a
233   ``fast-export`` command. Some minor issues have been
234   fixed at the same time: the first commit now goes into
235   refs/heads/master (not refs/head/tmp); there's no
236   checkpoint at the top of the stream; parent commits are
237   now always given lower mark numbers than the commits they
238   are merged into. (Ian Clatworthy)
240 * The ``fast-import`` command now uses a different mapping of
241   git reference names to bzr branch names. In summary:
242   
243   * ``refs/heads/foo`` is mapped to ``foo``
244   * ``refs/remotes/origin/foo`` is mapped to ``foo.remote``
245   * ``refs/tags/foo`` is mapped to ``foo.tag``
246   * ``*/master`` is mapped to ``trunk``, ``trunk.remote``, etc.
247   * ``*/trunk`` is mapped to ``git-trunk``, ``git-trunk.remote``, etc.
249   This new mapping has been introduced so that more natural
250   branch names are used and to enable round-tripping back to git.
251   (Ian Clatworthy)
253 * The old ``fast-import-filter`` command is now called
254   ``fast-import-query``. ``fast-import-filter`` now
255   really filters the input to produce a fast-import stream
256   based on filtering criteria. See below.
257   (Ian Clatworthy)
259 * The ``--inv-fulltext`` option is no longer supported. It was
260   only used in experimental mode for old versions of bzrlib so
261   it added more complexity than value. (Ian Clatworthy)
263 New Features
264 ------------
266 * Added ``fast-import-filter`` command for splitting out a
267   subdirectory or bunch of files into their own project. It can
268   also be used to create a new repository without any history
269   for nominated files and directories. This is useful for
270   removing information which is a security risk, huge binary
271   files like ISO images, etc.
272   (Ian Clatworthy)
274 * Copying of files and symbolic links is now supported.
275   (Ian Clatworthy)
277 * Initial cut at reset support. (Brian de Alwis, Ian Clatworthy)
279 Improvements
280 ------------
282 * If ``refs/heads/xxx`` and ``refs/remotes/origin/xxx`` are both
283   defined, the latter is now mapped to a bzr branch called
284   ``xxx.remote`` rather than ``remotes--origins--xxx``.
285   (Ian Clatworthy)
287 * ``bzr fast-import-info`` now handles an unlimited # of parents for a
288   revision. The spec suggests the maximum ought to be 16 but the linux
289   kernel has revisions with more than that.
290   (Ian Clatworthy)
292 * ``bzr fast-import-info`` now reports on things that may need caching,
293   i.e. merges, rename old paths and copy source paths.
294   (Ian Clatworthy)
296 * Tag commands with a missing from clause now produce a warning but
297   are otherwise ignored. (Scott James Remnant, Ian Clatworthy)
299 * The fastimport-id-map file can now have more revisions than the
300   repository. (Scott James Remnant)
302 * Updated the bundled version of hg-fast-export to be the latest
303   code from http://repo.or.cz/w/fast-export.git. It should now
304   support recent Mercurial releases.
305   (Ian Clatworthy, #318903)
307 Bug Fixes
308 ---------
310 * Fixed a *bad* bug where filecopy commands were being parsed
311   as filerename commands. Repositories generated by previous
312   version of bzr-fast-import where the input stream contained
313   filecopy commands might be missing data (the copy source will
314   no longer be there if it was unchanged since the copy happened)
315   and ought to be regenerated.
316   (Ian Clatworthy)
318 * Fixed how the per-file graph is generated. The per-file graph
319   may still be less than perfect in the case where a file is only
320   changed in a merge and not the parent, but in the vast majority
321   of cases now, ``bzr check`` should no longer report inconsistent
322   parents. (Ian Clatworthy)
324 * Fix ``os`` import as needed on Windows.
325   (Ian Clatworthy, esskov, #264988)
327 * Handle a directory turning into a file and then the children
328   of that directory being deleted.
329   (Ian Clatworthy, #309486)
331 * Handle an empty email section.
332   (Ian Clatworthy)
334 * Handle multiple merges within the one merge clause. That's illegal
335   according to the spec but git-fast-export does it.
336   (Ian Clatworthy, #259711)
338 * Handle names and paths that aren't utf8 encoded. The spec recommends
339   utf8 encoding of these but git-fast-export doesn't always do that.
340   (Ian Clatworthy, #289088)
342 * Ignore lightweight tags with no from clause rather than abort.
343   (It seems git-fast-export outputs these commands frequently now
344   while it didn't appear to in early versions.)
345   (Ian Clatworthy, edice, #259711)
347 * Import into rich-root (and subtree) repositories without aborting.
348   (Ian Clatworthy, #300921)
350 * Recursively delete children when a directory is deleted.
351   (Scott James Remnant)
353 * The ``deleteall`` command now only tries to delete files in the
354   nominated branch, not all known files. As a consequence,
355   it should now be possible (if it wasn't before) to import
356   multiple Darcs branches (via darcs-fast-export) at once.
357   (Ian Clatworthy)
359 Testing
360 -------
362 * A large number of tests have been added.
363   (Ian Clatworthy)
365 Internals
366 ---------
368 * Refactored ``processors/generic_processor.py`` into a bunch of modules.
369   (Ian Clatworthy)
372 0.7 09-Feb-2009
373 ===============
375 Compatibility Breaks
376 --------------------
378 * bzr-fast-export.py renamed to bzr-fast-export.
379   (Jelmer Vernooij)
381 Improvements
382 ------------
384 * Add support for the deleteall command.
385   (Miklos Vajna, #284941)
387 Bug Fixes
388 ---------
390 * bzr-fast-export now exports rm+mv correctly.
391   (Jonas)
393 * Fix recursive rename handling in bzr-fast-export.
394   (Pieter de Bie, #287785)
396 * hg-fast-export should use binary mode on Windows.
397   (Alexey Stukalov)
399 * setup.py no longer assumes python2.4.
400   (schickb@gmail.com)
402 * setup.py support fixed.
403   (Jelmer Vernooij)
405 * Update the last-modified revision for a renamed file.
406   (John Arbash Meinel)
409 0.6 23-Jul-2008
410 ===============
412 Improvements
413 ------------
415 * Added NEWS containing Release Notes. (Ian Clatworthy)
417 * ``bzr help fastimport`` now provides help that is useful.
418   (Ian Clatworthy)
420 * Numerous fixes to ``bzr-fast-export.py`` to improve round-tripping
421   with Git. Added ``--import-marks`` and ``--export-marks`` options
422   to ``fast-import`` as well.
423   (Pieter de Bie)
425 * ``svn-fast-export.py`` now supports a regular-expression to specify
426   the branches to export.
427   (Mirko Friedenhagen)
429 Bug Fixes
430 ---------
432 * Support the new Repository API added in bzr.dev r3510. The old API
433   will be used for earlier versions of bzr including bzr 1.6beta2 and
434   earlier. (Ian Clatworthy)
436 Compatibility Breaks
437 --------------------
439 * The ``--inv-fulltext`` option is not yet supported when the new
440   Repository API is used to import revisions. The option can be
441   provided but it will be ignored. (Ian Clatworthy)
443 API Breaks
445 * The ``RevisionLoader`` class has been renamed to ``RevisionLoader1``.
446   The ``ExperimentalRevisionLoader`` class has been renamed to
447   ``ImportRevisionLoader1``. New classes called ``RevisionLoader2``
448   and ``ImportRevisionLoader2`` are provided that use the new
449   Repository API. (Ian Clatworthy)
451 Internals
452 ---------
454 * Improved packaging by adding a setup.py file. (Ian Clatworthy)
457 0.5 02-Jun-2008
458 ===============
460 * Version suitable for Bazaar 1.5.
461   (Ian Clatworthy)