Changeset 1367 in tailor
- Timestamp:
- 04/28/07 16:37:47 (6 years ago)
- Hash name:
- 20070428143747-143c3-63debe9f6f89a781c9c93b078efb73722bfefcf3
- Files:
-
- 4 edited
-
README (modified) (6 diffs)
-
setup.py (modified) (1 diff)
-
vcpx/tests/tailor.py (modified) (7 diffs)
-
vcpx/repository/bzr.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
README
r1365 r1367 11 11 ===== 12 12 13 Tailor is a tool to migrate changesets between ArX_, Baz aar_,14 `Bazaar -NG`_, CVS_, Codeville_, Darcs_, Git_, Mercurial_, Monotone_,13 Tailor is a tool to migrate changesets between ArX_, Baz_, 14 `Bazaar`_, CVS_, Codeville_, Darcs_, Git_, Mercurial_, Monotone_, 15 15 Perforce_, Subversion_ and Tla_ [#]_ repositories. 16 16 … … 53 53 get pending changes and build tailor ChangeSets out of them. 54 54 55 To the opposite, Baz aar (1.0, not Bazaar-NG), Perforce and Tla55 To the opposite, Baz (1.0, not Bazaar), Perforce and Tla 56 56 are supported only as source systems. 57 57 58 58 .. _arx: http://www.nongnu.org/arx/ 59 .. _baz aar: http://bazaar.canonical.com/60 .. _bazaar -ng: http://www.bazaar-ng.org/59 .. _baz: http://bazaar-vcs.org/Baz1x 60 .. _bazaar: http://bazaar-vcs.org/ 61 61 .. _codeville: http://www.codeville.org/ 62 62 .. _cvs: http://www.nongnu.org/cvs/ … … 274 274 275 275 c) ArX and Codeville are (currently) only supported as *target*; 276 Baz aarand Tla only as *source*.276 Baz and Tla only as *source*. 277 277 278 278 d) Specifying ``--subdir .`` may not work, in particular when dealing … … 381 381 and create a new Mercurial repository in ``~/mypxlib/migrated``. 382 382 383 On final example to show the syntax of Baz aarsources::383 On final example to show the syntax of Baz sources:: 384 384 385 385 [project] … … 952 952 $ ./tester 953 953 954 will migrate the history from a darcs repository to a bazaar-ngone,954 will migrate the history from a darcs repository to a Bazaar one, 955 955 forcing the author to a well-known name :-) 956 956 … … 1110 1110 ArX_ support was contributed by `Walter Landry <wlandry@ucsd.edu>`_. 1111 1111 1112 Bazaar -NGsupport1112 Bazaar support 1113 1113 ----------------- 1114 1114 1115 `Bazaar -NG`_ support was contributed by `Johan Rydberg1115 `Bazaar`_ support was contributed by `Johan Rydberg 1116 1116 <jrydberg@gnu.org>`_. Nowadays it's being maintained by `Lalo Martins 1117 1117 <lalo.martins@gmail.com>`_. -
setup.py
r1355 r1367 22 22 a own branch of a product. 23 23 24 Tailor is able to fetch the history from Arch, Bazaar -NG, CVS, Darcs25 Monotone or Subversion and rewrite it over Bazaar -NG, CVS, Darcs, Git,24 Tailor is able to fetch the history from Arch, Bazaar, CVS, Darcs 25 Monotone or Subversion and rewrite it over Bazaar, CVS, Darcs, Git, 26 26 Mercurial, Monotone and Subversion. 27 27 """, -
vcpx/tests/tailor.py
r1272 r1367 202 202 203 203 204 [bazaar ng2darcs]204 [bazaar2darcs] 205 205 source = bzr:oodoctest 206 206 target = darcs:oodoctest 207 root-directory = %(testdir)s/bazaar ng2darcs207 root-directory = %(testdir)s/bazaar2darcs 208 208 start-revision = INITIAL 209 209 … … 393 393 self.assertEqual(tailorizer.source.subdir, 'pxlib') 394 394 395 def testDarcsAndBazaar ng(self):396 "Test darcs to bazaar-ngand the other way around"395 def testDarcsAndBazaar(self): 396 "Test darcs to Bazaar and the other way around" 397 397 398 398 self.tailorize('darcs2bzr') … … 422 422 423 423 424 class Bazaar ng(OperationalTest):425 "Test the Bazaar NGsource backend"426 427 def testBazaar ngAndPython23(self):424 class Bazaar(OperationalTest): 425 "Test the Bazaar source backend" 426 427 def testBazaarAndPython23(self): 428 428 "Test we detect early when running under Python < 2.4" 429 429 … … 432 432 if version_info < (2,4): 433 433 try: 434 self.tailorize('bazaar ng2darcs')434 self.tailorize('bazaar2darcs') 435 435 except TailorException, e: 436 self.assert_("Bazaar -NGbackend requires Python 2.4"436 self.assert_("Bazaar backend requires Python 2.4" 437 437 in str(e)) 438 438 else: 439 439 self.fail("Expected a specific TailorException") 440 440 441 def testBazaar ngToDarcs(self):442 "Test bazaar -ngto darcs"441 def testBazaarToDarcs(self): 442 "Test bazaar to darcs" 443 443 444 444 try: 445 self.tailorize('bazaar ng2darcs')445 self.tailorize('bazaar2darcs') 446 446 except TailorException, e: 447 447 from sys import version_info … … 482 482 self.tailorize('cvs2hg') 483 483 484 def testCvsToBazaar ng(self):485 "Test CVS to bazaar-ng"484 def testCvsToBazaar(self): 485 "Test CVS to Bazaar" 486 486 487 487 self.tailorize('cvs2bzr') … … 614 614 self.failIf(cvs.exit_status, "%r failed" % cvs._last_command) 615 615 616 def testCvsConvertDirectoryAddToBazaar ng(self):616 def testCvsConvertDirectoryAddToBazaar(self): 617 617 """Test that we can handle directory adds in the cvs module to bzr.""" 618 618 … … 620 620 t() 621 621 622 def testCvspsConvertDirectoryAddToBazaar ng(self):622 def testCvspsConvertDirectoryAddToBazaar(self): 623 623 """Test that we can handle directory adds in the cvsps module to bzr.""" 624 624 -
vcpx/repository/bzr.py
r1329 r1367 1 1 # -*- mode: python; coding: utf-8 -*- 2 # :Progetto: vcpx -- bazaar-ngsupport using the bzrlib instead of the frontend2 # :Progetto: vcpx -- Bazaar support using the bzrlib instead of the frontend 3 3 # :Creato: Fri Aug 19 01:06:08 CEST 2005 4 4 # :Autore: Johan Rydberg <jrydberg@gnu.org> … … 10 10 11 11 """ 12 This module implements the backends for Bazaar -NG.12 This module implements the backends for Bazaar. 13 13 """ 14 14 … … 17 17 18 18 from sys import version_info 19 assert version_info >= (2,4), "Bazaar -NGbackend requires Python 2.4"19 assert version_info >= (2,4), "Bazaar backend requires Python 2.4" 20 20 del version_info 21 21 … … 48 48 """ 49 49 Create a branch with a working tree at the base directory. If the base 50 directory is inside a Bazaar -NGstyle "shared repository", it will use50 directory is inside a Bazaar style "shared repository", it will use 51 51 that to create a branch and working tree (make sure it allows working 52 52 trees).
Note: See TracChangeset
for help on using the changeset viewer.
