Fix import of single_plural.
[bzr-fastimport.git] / NEWS
blob6096a9cc4b6ca4402b87352ae597e7b5aa780793
1 ============================
2 bzr-fastimport Release Notes
3 ============================
5 .. contents::
7 0.10 UNRELEASED
9 Changes
10 -------
12 * bzr-fastimport's file parsing and generation functionality has been exported into
13   separate upstream project called python-fastimport, that it now depends on.
14   python-fastimport can be retrieved from http://launchpad.net/python-fastimport.
16 0.9 28-Feb-2010
17 ===============
19 New Features
20 ------------
22 * The fast-import command now takes an optional but recommended
23   DESTINATION argument. A repository will be created at this
24   location and branches will be created within there. If the user
25   is running bzr 1.17 up to 2.0, format "2a" is used for these,
26   otherwise the default format is used. A format can be explicitly
27   given using the new --format option. (Ian Clatworthy)
29 * Wrapper commands simplifying the generation of fast-import
30   files from other tools are now provided. The general usage is:
32     bzr fast-export-from-xxx SOURCE project.fi
34   Before starting an export, these commands make an effort to
35   check that dependent tools are installed. So far, wrapper
36   commands are available for cvs, darcs, git, hg (Mercurial),
37   mnt (Monotone), p4 (Perforce) and svn (Subversion).
38   (Ian Clatworthy, Matt McClure)
40 * darcs-fast-export is now bundled. In fact, the project has
41   merged into this one for the purposes of ongoing bug fixing
42   and development. (Miklos Vajna)
44 * fast-export now supports a --no-plain parameter which causes
45   richer metadata to be included in the output using the
46   recently agreed 'feature' extension capability. The features
47   used are called multiple-authors, commit-properties and
48   empty-directories. (Ian Clatworthy)
50 * fast-import and fast-import-filter now support user mapping
51   via the new --user-map option. The argument is a file specifying
52   how user-ids should be mapped to preferred user-ids.
53   (Ian Clatworthy)
55 * svn-fast-export now supports an address option (to control the
56   default email domain) and a first-rev option (to select revisions
57   since a given one). (Ted Gould)
59 Improvements
60 ------------
62 * Large repositories now compress better thanks to a change in
63   how file-ids are assigned. (Ian Clatworthy, John Arbash Meinel)
65 * Memory usage is improved by flushing blobs to a disk cache
66   when appropriate. (John Arbash Meinel)
68 * If a fast-import source ends in ".gz", it is assumed to be in
69   gzip format and the stream is implicitly uncompressed. This
70   means fast-import dump files generated by fast-export-from-xxx
71   can be stored gzipped to save space. (Ian Clatworthy)
73 * The working tree is now implicitly updated for trunk. Other
74   branches still need to be explicitly created using 'bzr update'.
75   (Ian Clatworthy)
77 * Directories that become empty following a delete or rename of
78   one of their children are now implicitly pruned. If required,
79   this will be made optional at a later date.
80   (Tom Widmer, Ian Clatworthy)
82 * Blob tracking is now more intelligently done by an implicit
83   first pass to collect blob usage statistics. This eliminates
84   the need for an explicit 2-step process in all cases except
85   where stdin is used as the input source. (Ian Clatworthy)
87 * Updated the bundled version of hg-fast-export to be the latest
88   code (25-May-2009) from http://repo.or.cz/w/fast-export.git.
89   (Ian Clatworthy)
91 Bug Fixes
92 ---------
94 * Fixed the format used to create branches in a shared repository.
95   It now selects the best branch format based on the repository
96   format, rather than assume the default branch format is the right
97   one. (Ian Clatworthy)
99 * Fixed inventory delta generation when deleting directories.
100   (Previously the child paths included were relative to the
101   directory when they ought to be relative to the root.)
102   (Ian Clatworthy)
104 * Gracefully handle email addresses with unicode characters.
105   (Ian Clatworthy)
107 * Gracefully handle an empty input stream. (Gonéri Le Bouder)
109 * Gracefully handle git submodules by ignoring them.
110   (Ian Clatworthy)
112 * Get git-bzr working again. (Gonéri Le Bouder)
114 Documentation
115 -------------
117 * Improved documentation has been published in the Bazaar Data Migration
118   Guide: http://doc.bazaar-vcs.org/migration/en/data-migration/.
121 0.8 22-Jul-2009
122 ===============
124 Compatibility Breaks
125 --------------------
127 * ``exporters/bzr-fast-export`` has been replaced with a
128   ``fast-export`` command. Some minor issues have been
129   fixed at the same time: the first commit now goes into
130   refs/heads/master (not refs/head/tmp); there's no
131   checkpoint at the top of the stream; parent commits are
132   now always given lower mark numbers than the commits they
133   are merged into. (Ian Clatworthy)
135 * The ``fast-import`` command now uses a different mapping of
136   git reference names to bzr branch names. In summary:
137   
138   * ``refs/heads/foo`` is mapped to ``foo``
139   * ``refs/remotes/origin/foo`` is mapped to ``foo.remote``
140   * ``refs/tags/foo`` is mapped to ``foo.tag``
141   * ``*/master`` is mapped to ``trunk``, ``trunk.remote``, etc.
142   * ``*/trunk`` is mapped to ``git-trunk``, ``git-trunk.remote``, etc.
144   This new mapping has been introduced so that more natural
145   branch names are used and to enable round-tripping back to git.
146   (Ian Clatworthy)
148 * The old ``fast-import-filter`` command is now called
149   ``fast-import-query``. ``fast-import-filter`` now
150   really filters the input to produce a fast-import stream
151   based on filtering criteria. See below.
152   (Ian Clatworthy)
154 * The ``--inv-fulltext`` option is no longer supported. It was
155   only used in experimental mode for old versions of bzrlib so
156   it added more complexity than value. (Ian Clatworthy)
158 New Features
159 ------------
161 * Added ``fast-import-filter`` command for splitting out a
162   subdirectory or bunch of files into their own project. It can
163   also be used to create a new repository without any history
164   for nominated files and directories. This is useful for
165   removing information which is a security risk, huge binary
166   files like ISO images, etc.
167   (Ian Clatworthy)
169 * Copying of files and symbolic links is now supported.
170   (Ian Clatworthy)
172 * Initial cut at reset support. (Brian de Alwis, Ian Clatworthy)
174 Improvements
175 ------------
177 * If ``refs/heads/xxx`` and ``refs/remotes/origin/xxx`` are both
178   defined, the latter is now mapped to a bzr branch called
179   ``xxx.remote`` rather than ``remotes--origins--xxx``.
180   (Ian Clatworthy)
182 * ``bzr fast-import-info`` now handles an unlimited # of parents for a
183   revision. The spec suggests the maximum ought to be 16 but the linux
184   kernel has revisions with more than that.
185   (Ian Clatworthy)
187 * ``bzr fast-import-info`` now reports on things that may need caching,
188   i.e. merges, rename old paths and copy source paths.
189   (Ian Clatworthy)
191 * Tag commands with a missing from clause now produce a warning but
192   are otherwise ignored. (Scott James Remnant, Ian Clatworthy)
194 * The fastimport-id-map file can now have more revisions than the
195   repository. (Scott James Remnant)
197 * Updated the bundled version of hg-fast-export to be the latest
198   code from http://repo.or.cz/w/fast-export.git. It should now
199   support recent Mercurial releases.
200   (Ian Clatworthy, #318903)
202 Bug Fixes
203 ---------
205 * Fixed a *bad* bug where filecopy commands were being parsed
206   as filerename commands. Repositories generated by previous
207   version of bzr-fast-import where the input stream contained
208   filecopy commands might be missing data (the copy source will
209   no longer be there if it was unchanged since the copy happened)
210   and ought to be regenerated.
211   (Ian Clatworthy)
213 * Fixed how the per-file graph is generated. The per-file graph
214   may still be less than perfect in the case where a file is only
215   changed in a merge and not the parent, but in the vast majority
216   of cases now, ``bzr check`` should no longer report inconsistent
217   parents. (Ian Clatworthy)
219 * Fix ``os`` import as needed on Windows.
220   (Ian Clatworthy, esskov, #264988)
222 * Handle a directory turning into a file and then the children
223   of that directory being deleted.
224   (Ian Clatworthy, #309486)
226 * Handle an empty email section.
227   (Ian Clatworthy)
229 * Handle multiple merges within the one merge clause. That's illegal
230   according to the spec but git-fast-export does it.
231   (Ian Clatworthy, #259711)
233 * Handle names and paths that aren't utf8 encoded. The spec recommends
234   utf8 encoding of these but git-fast-export doesn't always do that.
235   (Ian Clatworthy, #289088)
237 * Ignore lightweight tags with no from clause rather than abort.
238   (It seems git-fast-export outputs these commands frequently now
239   while it didn't appear to in early versions.)
240   (Ian Clatworthy, edice, #259711)
242 * Import into rich-root (and subtree) repositories without aborting.
243   (Ian Clatworthy, #300921)
245 * Recursively delete children when a directory is deleted.
246   (Scott James Remnant)
248 * The ``deleteall`` command now only tries to delete files in the
249   nominated branch, not all known files. As a consequence,
250   it should now be possible (if it wasn't before) to import
251   multiple Darcs branches (via darcs-fast-export) at once.
252   (Ian Clatworthy)
254 Testing
255 -------
257 * A large number of tests have been added.
258   (Ian Clatworthy)
260 Internals
261 ---------
263 * Refactored ``processors/generic_processor.py`` into a bunch of modules.
264   (Ian Clatworthy)
267 0.7 09-Feb-2009
268 ===============
270 Compatibility Breaks
271 --------------------
273 * bzr-fast-export.py renamed to bzr-fast-export.
274   (Jelmer Vernooij)
276 Improvements
277 ------------
279 * Add support for the deleteall command.
280   (Miklos Vajna, #284941)
282 Bug Fixes
283 ---------
285 * bzr-fast-export now exports rm+mv correctly.
286   (Jonas)
288 * Fix recursive rename handling in bzr-fast-export.
289   (Pieter de Bie, #287785)
291 * hg-fast-export should use binary mode on Windows.
292   (Alexey Stukalov)
294 * setup.py no longer assumes python2.4.
295   (schickb@gmail.com)
297 * setup.py support fixed.
298   (Jelmer Vernooij)
300 * Update the last-modified revision for a renamed file.
301   (John Arbash Meinel)
304 0.6 23-Jul-2008
305 ===============
307 Improvements
308 ------------
310 * Added NEWS containing Release Notes. (Ian Clatworthy)
312 * ``bzr help fastimport`` now provides help that is useful.
313   (Ian Clatworthy)
315 * Numerous fixes to ``bzr-fast-export.py`` to improve round-tripping
316   with Git. Added ``--import-marks`` and ``--export-marks`` options
317   to ``fast-import`` as well.
318   (Pieter de Bie)
320 * ``svn-fast-export.py`` now supports a regular-expression to specify
321   the branches to export.
322   (Mirko Friedenhagen)
324 Bug Fixes
325 ---------
327 * Support the new Repository API added in bzr.dev r3510. The old API
328   will be used for earlier versions of bzr including bzr 1.6beta2 and
329   earlier. (Ian Clatworthy)
331 Compatibility Breaks
332 --------------------
334 * The ``--inv-fulltext`` option is not yet supported when the new
335   Repository API is used to import revisions. The option can be
336   provided but it will be ignored. (Ian Clatworthy)
338 API Breaks
340 * The ``RevisionLoader`` class has been renamed to ``RevisionLoader1``.
341   The ``ExperimentalRevisionLoader`` class has been renamed to
342   ``ImportRevisionLoader1``. New classes called ``RevisionLoader2``
343   and ``ImportRevisionLoader2`` are provided that use the new
344   Repository API. (Ian Clatworthy)
346 Internals
347 ---------
349 * Improved packaging by adding a setup.py file. (Ian Clatworthy)
352 0.5 02-Jun-2008
353 ===============
355 * Version suitable for Bazaar 1.5.
356   (Ian Clatworthy)