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