Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Jul 01, 2014

  1. InitializeChangesetsPass: We are looking for the *biggest* gap.

    The old code looked for the smallest gap among split points that break
    the same number of dependencies.  This was backwards.  Fix the
    comparison.
    
    Reported-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5458 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  2. InitializeChangesetsPass: Combine two branches of "if" statement.

    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5457 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  3. InitializeChangesetsPass: Introduce temporary "gap".

    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5456 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  4. InitializeChangesetsPass: Rename best_time to best_gap.

    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5455 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  5. InitializeChangesetsPass: Delete obsolete comment.

    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5454 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  6. InitializeChangesetsPass: Fully initialize breaks array before contin…

    …uing.
    
    This makes the logic clearer.
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5453 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  7. parse_log(): Handle the absence of a "Changed paths:" line.

    New versions of "svn log" seem to omit this line if no paths were
    changed in the commit.
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5452 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  8. LineFeeder: Store list of lines reversed to avoid O(N^2) behavior.

    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5451 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  9. run-tests.py: Use booleans in a couple more places.

    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5450 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored

Feb 15, 2014

  1. FAQ: Document how to convert projects at different times.

    In r2685, I documented how to do multiproject conversions the "new"
    way, using an options file with multiple calls to
    run_options.add_project().  But the "old way" (using intermediate
    dumpfiles) still has value, because the user might want to migrate
    different projects at different times.  So restore part of the old
    text and add some new tips to reflect other improvements that have
    been made in cvs2svn since then.
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5449 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored

Feb 03, 2014

  1. Update cvs2git.html.

    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5448 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  2. Bring CHANGES up to date.

    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5447 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  3. Push RunOptions.description down to derived classes.

    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5446 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  4. cvs2git: Make the --dumpfile option optional.

    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5445 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  5. GitOutputOption: Change the order of constructor parameters.

    Ditto for BzrOutputOption.
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5444 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  6. cvs2git: Make the --blobfile argument optional.

    If it is not specified, then write the blobs to a temporary file in
    FilterSymbolsPass, then in OutputPass copy it to the start of the
    dumpfile.
    
    Please note that this increases the disk usage, because the blobfile
    is stored twice.
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5443 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  7. GitRevisionCollector: Change order of constructor arguments.

    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5442 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored

Jan 07, 2014

  1. Get rid of superfluous uses of super().

    In the absence of multiple inheritance, it is just verbose and
    error-prone.
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5441 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored

Dec 20, 2013

  1. Correctly use self.DEFAULT_USERNAME as a default for --username.

    Before this, it was being shown as default, but failing to specify the
    --username on the cvs2git command line was nevertheless a fatal error.
    This fix should ensure correct defaulting for cvs2git, cvs2bzr, and
    cvs2hg.
    
    Patch by: Eric S. Raymond <esr@thyrsus.com>
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5440 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  2. Default the repository path to the current directory for all variants.

    Trivial fix, most of this is documentation patches.
    
    Patch by: Eric S. Raymond <esr@thyrsus.com>
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5439 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  3. Fix capitalization in short_desc strings.

    Patch by: Eric S. Raymond <esr@thyrsus.com>
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5438 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  4. "co -V" has been deprecated. Use "co --version" instead.

    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5437 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored

Sep 20, 2013

  1. Fix logging in GitOutputOption.process_post_commit().

    There is no "lod" variable at this point in the code.  Instead, report
    the branch to which the commit is being written, which is always
    trunk.
    
    Reported by: Alex Kiernan <alexk@alexandalex.com>
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5436 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored

Sep 19, 2013

  1. Bring CHANGES file up to date.

    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5435 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  2. Ignore "CVS" directories within the repository.

    CVS stores some kinds of metadata in "CVS" subdirectories within
    repository directories (for example, whether a file is locked or
    watched).  These directories are not part of the source tree and
    contain no information useful to the conversion, so ignore them.
    
    Patch by: David Morris <david@morrisonthenet.com>
    Simplified by: me
    Researched by: Olli Hauer <ohauer@gmx.de>
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5434 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored

Aug 08, 2013

  1. Allow paths under Attic directories to be excluded, too.

    Pass excluded_paths to _RepositoryWalker._generate_attic_cvs_files()
    and teach that method to exclude attic files that are listed.
    
    Problem reported by: Etan Reisner <deryni@gmail.com>
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5433 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored

Jun 18, 2013

  1. cvs2git: Emit some more information in OutputPass.

    During OutputPass of cvs2git, output the correspondence between the
    SVN revnums used in CreateRevsPass and the commit marks written to the
    dumpfile.  This gives users a hope of determining which CVS file
    revisions are added in which Git commits (though they still have to
    convert marks -> SHA1s themselves).
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5432 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored

Jun 14, 2013

  1. Choose garbage collection policy a bit more intelligently.

    The CPython garbage-collector is only needed for circular reference
    loops, because most unused objects are cleared via reference counting.
    cvs2svn is careful not to create any reference loops, so under CPython
    the garbage-collector costs a lot of overhead but brings zero benefit.
    Therefore, it was disabled.
    
    However, other Python implementations (e.g., Jython, PyPy in at least
    one incarnation, and probably IronPython too) do not use reference
    counting at all, and *rely* on the garbage collector to free unused
    objects.
    
    So, try to detect which Python implementation is being used, and
    disable the garbage collector only if we are sure that we are running
    under CPython.
    
    Unfortunately, platform.python_implementation(), which provides the
    required information, was only added in Python 2.6.  So on older
    versions of Python, just leave the garbage collector on.  This will
    cost some performance, but will always work.
    
    This should fix an out-of-memory error that was reported by Jan Smets
    <jan@smets.cx> when using PyPy.
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5431 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  2. Centralize gc policy in a new GarbageCollectionPolicy class.

    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5430 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored

May 17, 2013

  1. cvs2svn_lib: ensure that files get closed.

    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5429 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  2. cvs2svn_memlog: ensure that files get closed.

    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5428 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  3. destroy_repository: ensure that files get closed.

    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5427 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  4. verify-cvs2svn: ensure that files get closed.

    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5426 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  5. rcs_file_filter: ensure that files get closed.

    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5425 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
  6. shrink_test_case: ensure that CVS files get closed.

    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5424 be7e6eca-30d4-0310-a8e5-ac0d63af7087
    mhagger authored
Something went wrong with that request. Please try again.