/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/plugins/fastimport/NEWS

Bundle bzr-fastimport.

Show diffs side-by-side

added added

removed removed

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