Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 6, 2015
  1. HACKING: update references to Git mirrors and add more explanation.

    mhagger authored
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5462 be7e6eca-30d4-0310-a8e5-ac0d63af7087
  2. Update to rcsparse r2971.

    mhagger authored
    This addresses an edge case if EOF is encountered while parsing a
    token.
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5461 be7e6eca-30d4-0310-a8e5-ac0d63af7087
Commits on Mar 16, 2015
  1. Skip test of executable flag if filesystem appears to be mounted noexec.

    mhagger authored
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5460 be7e6eca-30d4-0310-a8e5-ac0d63af7087
  2. Update GCS' email address to the Debian one.

    mhagger authored
    Patch by: Laszlo Boszormenyi <gcs@debian.org>
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5459 be7e6eca-30d4-0310-a8e5-ac0d63af7087
Commits on Jul 1, 2014
  1. InitializeChangesetsPass: We are looking for the *biggest* gap.

    mhagger authored
    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
  2. InitializeChangesetsPass: Combine two branches of "if" statement.

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

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

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

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

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

    mhagger authored
    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
  8. LineFeeder: Store list of lines reversed to avoid O(N^2) behavior.

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

    mhagger authored
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5450 be7e6eca-30d4-0310-a8e5-ac0d63af7087
Commits on Feb 15, 2014
  1. FAQ: Document how to convert projects at different times.

    mhagger authored
    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
Commits on Feb 3, 2014
  1. Update cvs2git.html.

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

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

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

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

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

    mhagger authored
    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
  7. GitRevisionCollector: Change order of constructor arguments.

    mhagger authored
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5442 be7e6eca-30d4-0310-a8e5-ac0d63af7087
Commits on Jan 7, 2014
  1. Get rid of superfluous uses of super().

    mhagger authored
    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
Commits on Dec 20, 2013
  1. Correctly use self.DEFAULT_USERNAME as a default for --username.

    mhagger authored
    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
  2. Default the repository path to the current directory for all variants.

    mhagger authored
    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
  3. Fix capitalization in short_desc strings.

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

    mhagger authored
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5437 be7e6eca-30d4-0310-a8e5-ac0d63af7087
Commits on Sep 20, 2013
  1. Fix logging in GitOutputOption.process_post_commit().

    mhagger authored
    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
Commits on Sep 19, 2013
  1. Bring CHANGES file up to date.

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

    mhagger authored
    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
Commits on Aug 8, 2013
  1. Allow paths under Attic directories to be excluded, too.

    mhagger authored
    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
Commits on Jun 18, 2013
  1. cvs2git: Emit some more information in OutputPass.

    mhagger authored
    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
Commits on Jun 14, 2013
  1. Choose garbage collection policy a bit more intelligently.

    mhagger authored
    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
  2. Centralize gc policy in a new GarbageCollectionPolicy class.

    mhagger authored
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5430 be7e6eca-30d4-0310-a8e5-ac0d63af7087
Commits on May 17, 2013
  1. cvs2svn_lib: ensure that files get closed.

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

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