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