Don't rely on bzrlib in setup.py.
[bzr-fastimport.git] / NEWS
blob5c44938387b035a53ddfc8182b9af2e200253538
1 ============================
2 bzr-fastimport Release Notes
3 ============================
5 .. contents::
7 0.11 UNRELEASED
9 Bug fixes
10 ---------
12 * Fix internal error in 'bzr fast-import-info'. (Jelmer Vernooij, #730833)
14 * Setup.py no longer relies on bzrlib. (Jelmer Vernooij, #735201)
16 0.10 08-Mar-2011
18 Changes
19 -------
21 * bzr-fastimport's file parsing and generation functionality has been exported into
22   separate upstream project called python-fastimport, that it now depends on.
23   python-fastimport can be retrieved from http://launchpad.net/python-fastimport.
25 Bug fixes
26 ---------
28 * Cope with non-ascii characters in tag names. (Jelmer Vernooij, #598060)
30 * Cope with non-ascii characters in symbolic links. (Daniel Clemente,
31    Jelmer Vernooij, #238365)
33 * In plain mode, don't export multiple authors. (David Kilzer, #496677)
35 * Fix indentation when starting p4 fails. (Jelmer Vernooij)
37 * SOURCE argument to bzr fast-import-filter is now optional, consistent with
38   examples. (Jelmer Vernooij, #477861)
40 * Support new marks file format introduced in (apparently) git 1.6.
41   (Ian Clatworthy, Jelmer Vernooij, Gabriel Filion, #347729)
43 * Allow entries without email address in user map. (Jelmer Vernooij, #576598)
45 * Strip leading slashes when exporting Subversion repositories.
46   (Jelmer Vernooij, #477869)
48 * Cope with non-utf8 characters in commit messages. (Jelmer Vernooij, #444896)
50 * Include download_url in setup.py for use on pypi. (Jelmer Vernooij, #456957)
52 * Fix incremental imports from incremental import streams.
53   (termie, Jelmer Vernooij, #328494)
55 0.9 28-Feb-2010
56 ===============
58 New Features
59 ------------
61 * The fast-import command now takes an optional but recommended
62   DESTINATION argument. A repository will be created at this
63   location and branches will be created within there. If the user
64   is running bzr 1.17 up to 2.0, format "2a" is used for these,
65   otherwise the default format is used. A format can be explicitly
66   given using the new --format option. (Ian Clatworthy)
68 * Wrapper commands simplifying the generation of fast-import
69   files from other tools are now provided. The general usage is:
71     bzr fast-export-from-xxx SOURCE project.fi
73   Before starting an export, these commands make an effort to
74   check that dependent tools are installed. So far, wrapper
75   commands are available for cvs, darcs, git, hg (Mercurial),
76   mnt (Monotone), p4 (Perforce) and svn (Subversion).
77   (Ian Clatworthy, Matt McClure)
79 * darcs-fast-export is now bundled. In fact, the project has
80   merged into this one for the purposes of ongoing bug fixing
81   and development. (Miklos Vajna)
83 * fast-export now supports a --no-plain parameter which causes
84   richer metadata to be included in the output using the
85   recently agreed 'feature' extension capability. The features
86   used are called multiple-authors, commit-properties and
87   empty-directories. (Ian Clatworthy)
89 * fast-import and fast-import-filter now support user mapping
90   via the new --user-map option. The argument is a file specifying
91   how user-ids should be mapped to preferred user-ids.
92   (Ian Clatworthy)
94 * svn-fast-export now supports an address option (to control the
95   default email domain) and a first-rev option (to select revisions
96   since a given one). (Ted Gould)
98 Improvements
99 ------------
101 * Large repositories now compress better thanks to a change in
102   how file-ids are assigned. (Ian Clatworthy, John Arbash Meinel)
104 * Memory usage is improved by flushing blobs to a disk cache
105   when appropriate. (John Arbash Meinel)
107 * If a fast-import source ends in ".gz", it is assumed to be in
108   gzip format and the stream is implicitly uncompressed. This
109   means fast-import dump files generated by fast-export-from-xxx
110   can be stored gzipped to save space. (Ian Clatworthy)
112 * The working tree is now implicitly updated for trunk. Other
113   branches still need to be explicitly created using 'bzr update'.
114   (Ian Clatworthy)
116 * Directories that become empty following a delete or rename of
117   one of their children are now implicitly pruned. If required,
118   this will be made optional at a later date.
119   (Tom Widmer, Ian Clatworthy)
121 * Blob tracking is now more intelligently done by an implicit
122   first pass to collect blob usage statistics. This eliminates
123   the need for an explicit 2-step process in all cases except
124   where stdin is used as the input source. (Ian Clatworthy)
126 * Updated the bundled version of hg-fast-export to be the latest
127   code (25-May-2009) from http://repo.or.cz/w/fast-export.git.
128   (Ian Clatworthy)
130 Bug Fixes
131 ---------
133 * Fixed the format used to create branches in a shared repository.
134   It now selects the best branch format based on the repository
135   format, rather than assume the default branch format is the right
136   one. (Ian Clatworthy)
138 * Fixed inventory delta generation when deleting directories.
139   (Previously the child paths included were relative to the
140   directory when they ought to be relative to the root.)
141   (Ian Clatworthy)
143 * Gracefully handle email addresses with unicode characters.
144   (Ian Clatworthy)
146 * Gracefully handle an empty input stream. (Gonéri Le Bouder)
148 * Gracefully handle git submodules by ignoring them.
149   (Ian Clatworthy)
151 * Get git-bzr working again. (Gonéri Le Bouder)
153 Documentation
154 -------------
156 * Improved documentation has been published in the Bazaar Data Migration
157   Guide: http://doc.bazaar-vcs.org/migration/en/data-migration/.
160 0.8 22-Jul-2009
161 ===============
163 Compatibility Breaks
164 --------------------
166 * ``exporters/bzr-fast-export`` has been replaced with a
167   ``fast-export`` command. Some minor issues have been
168   fixed at the same time: the first commit now goes into
169   refs/heads/master (not refs/head/tmp); there's no
170   checkpoint at the top of the stream; parent commits are
171   now always given lower mark numbers than the commits they
172   are merged into. (Ian Clatworthy)
174 * The ``fast-import`` command now uses a different mapping of
175   git reference names to bzr branch names. In summary:
176   
177   * ``refs/heads/foo`` is mapped to ``foo``
178   * ``refs/remotes/origin/foo`` is mapped to ``foo.remote``
179   * ``refs/tags/foo`` is mapped to ``foo.tag``
180   * ``*/master`` is mapped to ``trunk``, ``trunk.remote``, etc.
181   * ``*/trunk`` is mapped to ``git-trunk``, ``git-trunk.remote``, etc.
183   This new mapping has been introduced so that more natural
184   branch names are used and to enable round-tripping back to git.
185   (Ian Clatworthy)
187 * The old ``fast-import-filter`` command is now called
188   ``fast-import-query``. ``fast-import-filter`` now
189   really filters the input to produce a fast-import stream
190   based on filtering criteria. See below.
191   (Ian Clatworthy)
193 * The ``--inv-fulltext`` option is no longer supported. It was
194   only used in experimental mode for old versions of bzrlib so
195   it added more complexity than value. (Ian Clatworthy)
197 New Features
198 ------------
200 * Added ``fast-import-filter`` command for splitting out a
201   subdirectory or bunch of files into their own project. It can
202   also be used to create a new repository without any history
203   for nominated files and directories. This is useful for
204   removing information which is a security risk, huge binary
205   files like ISO images, etc.
206   (Ian Clatworthy)
208 * Copying of files and symbolic links is now supported.
209   (Ian Clatworthy)
211 * Initial cut at reset support. (Brian de Alwis, Ian Clatworthy)
213 Improvements
214 ------------
216 * If ``refs/heads/xxx`` and ``refs/remotes/origin/xxx`` are both
217   defined, the latter is now mapped to a bzr branch called
218   ``xxx.remote`` rather than ``remotes--origins--xxx``.
219   (Ian Clatworthy)
221 * ``bzr fast-import-info`` now handles an unlimited # of parents for a
222   revision. The spec suggests the maximum ought to be 16 but the linux
223   kernel has revisions with more than that.
224   (Ian Clatworthy)
226 * ``bzr fast-import-info`` now reports on things that may need caching,
227   i.e. merges, rename old paths and copy source paths.
228   (Ian Clatworthy)
230 * Tag commands with a missing from clause now produce a warning but
231   are otherwise ignored. (Scott James Remnant, Ian Clatworthy)
233 * The fastimport-id-map file can now have more revisions than the
234   repository. (Scott James Remnant)
236 * Updated the bundled version of hg-fast-export to be the latest
237   code from http://repo.or.cz/w/fast-export.git. It should now
238   support recent Mercurial releases.
239   (Ian Clatworthy, #318903)
241 Bug Fixes
242 ---------
244 * Fixed a *bad* bug where filecopy commands were being parsed
245   as filerename commands. Repositories generated by previous
246   version of bzr-fast-import where the input stream contained
247   filecopy commands might be missing data (the copy source will
248   no longer be there if it was unchanged since the copy happened)
249   and ought to be regenerated.
250   (Ian Clatworthy)
252 * Fixed how the per-file graph is generated. The per-file graph
253   may still be less than perfect in the case where a file is only
254   changed in a merge and not the parent, but in the vast majority
255   of cases now, ``bzr check`` should no longer report inconsistent
256   parents. (Ian Clatworthy)
258 * Fix ``os`` import as needed on Windows.
259   (Ian Clatworthy, esskov, #264988)
261 * Handle a directory turning into a file and then the children
262   of that directory being deleted.
263   (Ian Clatworthy, #309486)
265 * Handle an empty email section.
266   (Ian Clatworthy)
268 * Handle multiple merges within the one merge clause. That's illegal
269   according to the spec but git-fast-export does it.
270   (Ian Clatworthy, #259711)
272 * Handle names and paths that aren't utf8 encoded. The spec recommends
273   utf8 encoding of these but git-fast-export doesn't always do that.
274   (Ian Clatworthy, #289088)
276 * Ignore lightweight tags with no from clause rather than abort.
277   (It seems git-fast-export outputs these commands frequently now
278   while it didn't appear to in early versions.)
279   (Ian Clatworthy, edice, #259711)
281 * Import into rich-root (and subtree) repositories without aborting.
282   (Ian Clatworthy, #300921)
284 * Recursively delete children when a directory is deleted.
285   (Scott James Remnant)
287 * The ``deleteall`` command now only tries to delete files in the
288   nominated branch, not all known files. As a consequence,
289   it should now be possible (if it wasn't before) to import
290   multiple Darcs branches (via darcs-fast-export) at once.
291   (Ian Clatworthy)
293 Testing
294 -------
296 * A large number of tests have been added.
297   (Ian Clatworthy)
299 Internals
300 ---------
302 * Refactored ``processors/generic_processor.py`` into a bunch of modules.
303   (Ian Clatworthy)
306 0.7 09-Feb-2009
307 ===============
309 Compatibility Breaks
310 --------------------
312 * bzr-fast-export.py renamed to bzr-fast-export.
313   (Jelmer Vernooij)
315 Improvements
316 ------------
318 * Add support for the deleteall command.
319   (Miklos Vajna, #284941)
321 Bug Fixes
322 ---------
324 * bzr-fast-export now exports rm+mv correctly.
325   (Jonas)
327 * Fix recursive rename handling in bzr-fast-export.
328   (Pieter de Bie, #287785)
330 * hg-fast-export should use binary mode on Windows.
331   (Alexey Stukalov)
333 * setup.py no longer assumes python2.4.
334   (schickb@gmail.com)
336 * setup.py support fixed.
337   (Jelmer Vernooij)
339 * Update the last-modified revision for a renamed file.
340   (John Arbash Meinel)
343 0.6 23-Jul-2008
344 ===============
346 Improvements
347 ------------
349 * Added NEWS containing Release Notes. (Ian Clatworthy)
351 * ``bzr help fastimport`` now provides help that is useful.
352   (Ian Clatworthy)
354 * Numerous fixes to ``bzr-fast-export.py`` to improve round-tripping
355   with Git. Added ``--import-marks`` and ``--export-marks`` options
356   to ``fast-import`` as well.
357   (Pieter de Bie)
359 * ``svn-fast-export.py`` now supports a regular-expression to specify
360   the branches to export.
361   (Mirko Friedenhagen)
363 Bug Fixes
364 ---------
366 * Support the new Repository API added in bzr.dev r3510. The old API
367   will be used for earlier versions of bzr including bzr 1.6beta2 and
368   earlier. (Ian Clatworthy)
370 Compatibility Breaks
371 --------------------
373 * The ``--inv-fulltext`` option is not yet supported when the new
374   Repository API is used to import revisions. The option can be
375   provided but it will be ignored. (Ian Clatworthy)
377 API Breaks
379 * The ``RevisionLoader`` class has been renamed to ``RevisionLoader1``.
380   The ``ExperimentalRevisionLoader`` class has been renamed to
381   ``ImportRevisionLoader1``. New classes called ``RevisionLoader2``
382   and ``ImportRevisionLoader2`` are provided that use the new
383   Repository API. (Ian Clatworthy)
385 Internals
386 ---------
388 * Improved packaging by adding a setup.py file. (Ian Clatworthy)
391 0.5 02-Jun-2008
392 ===============
394 * Version suitable for Bazaar 1.5.
395   (Ian Clatworthy)