Permalink
Commits on Nov 26, 2017
  1. Bring CHANGES up to date.

    mhagger committed Nov 26, 2017
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5471 be7e6eca-30d4-0310-a8e5-ac0d63af7087
  2. Allow the svn:executable property to affect the git filemode

    mhagger committed Nov 26, 2017
    This allows a file to be marked executable in Git using the full
    property-setting machinery, for example via `AutoPropsPropertySetter`.
    
    We only need to check for the presence of the `svn:executable` flag
    because Git already uses the `ExecutablePropertySetter`, which sets
    the `svn:executable` property based on whether the CVS file had its
    executable bit set.
    
    Patch by: Mark Rotteveel <mark@lawinegevaar.nl>
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5470 be7e6eca-30d4-0310-a8e5-ac0d63af7087
Commits on Nov 9, 2017
  1. Don't add so much useless metadata to symbol commits

    mhagger committed Nov 9, 2017
    This information is mostly redundant with the history itself. Plus, it
    can amount to a unwieldy amount of data, for example if a single file
    is tagged in a huge repository.
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5469 be7e6eca-30d4-0310-a8e5-ac0d63af7087
Commits on Sep 2, 2017
  1. CVSFileItems.imported_remove_1_1(): don't remove a non-root commit

    mhagger committed Sep 2, 2017
    If the supposed "revision 1.1" has a predecessor, then we're not
    talking about the simple scenario described in the docstring for
    `adjust_ntdbrs()`, so don't try to delete it. This fixes test 184.
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5468 be7e6eca-30d4-0310-a8e5-ac0d63af7087
  2. CVSFileItems.imported_remove_1_1(): remove level of nesting

    mhagger committed Sep 2, 2017
    Exit early if we can't do anything.
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5467 be7e6eca-30d4-0310-a8e5-ac0d63af7087
  3. vendor_1_1_not_root(): new test function

    mhagger committed Sep 2, 2017
    Add a new, failing test case. It can happen that the branch point of
    an active vendor branch is actually not a root commit. In this case,
    our attempt to delete it fails.
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5466 be7e6eca-30d4-0310-a8e5-ac0d63af7087
Commits on Jul 30, 2016
  1. If SOURCE_DATE_EPOCH is set, use it for manpages

    mhagger committed Jul 30, 2016
    To improve build reproducibility, use the value of the environment
    variable SOURCE_DATE_EPOCH as the date to embed in manpages if it is
    set, rather than unconditionally using the current date. The idea is
    that packaging systems can feed in the date of the last source
    modification, so that the result is the same no matter when the package
    is built. See the SOURCE_DATE_EPOCH specification [1] for more
    information.
    
    This was reported as Debian bug #831066 [2].
    
    [1] https://reproducible-builds.org/specs/source-date-epoch/
    [2] https://bugs.debian.org/831066
    
    Suggested-by: Chris Lamb <lamby@debian.org>
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5465 be7e6eca-30d4-0310-a8e5-ac0d63af7087
Commits on Sep 20, 2015
  1. Use ctx.tmpdir consistently in cvs2git-example.options.

    mhagger committed Sep 20, 2015
    Patch by: Otmar Humbel <ohumbel@gmail.com>
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5464 be7e6eca-30d4-0310-a8e5-ac0d63af7087
Commits on Jun 2, 2015
  1. Adjust git-move-refs.py to recognize new commit messages

    mhagger committed Jun 2, 2015
    Since r5415 changed the default commit messages for manufactured
    commits to refer to "cvs2git" rather than "cvs2svn", change
    git-move-refs.py to recognize the new messages.
    
    Patch by: John Hood <cgull@glup.org>
    
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5463 be7e6eca-30d4-0310-a8e5-ac0d63af7087
Commits on Apr 6, 2015
  1. HACKING: update references to Git mirrors and add more explanation.

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

    mhagger committed Apr 6, 2015
    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 committed Mar 16, 2015
    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 committed Mar 16, 2015
    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 committed Jul 1, 2014
    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 committed Jul 1, 2014
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5457 be7e6eca-30d4-0310-a8e5-ac0d63af7087
  3. InitializeChangesetsPass: Introduce temporary "gap".

    mhagger committed Jul 1, 2014
    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 committed Jul 1, 2014
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5455 be7e6eca-30d4-0310-a8e5-ac0d63af7087
  5. InitializeChangesetsPass: Delete obsolete comment.

    mhagger committed Jul 1, 2014
    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 committed Jul 1, 2014
    …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 committed Jul 1, 2014
    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 committed Jul 1, 2014
    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 committed Jul 1, 2014
    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 committed Feb 15, 2014
    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 committed Feb 3, 2014
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5448 be7e6eca-30d4-0310-a8e5-ac0d63af7087
  2. Bring CHANGES up to date.

    mhagger committed Feb 3, 2014
    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 committed Feb 3, 2014
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5446 be7e6eca-30d4-0310-a8e5-ac0d63af7087
  4. cvs2git: Make the --dumpfile option optional.

    mhagger committed Feb 3, 2014
    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 committed Feb 3, 2014
    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 committed Feb 3, 2014
    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 committed Feb 3, 2014
    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 committed Jan 7, 2014
    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 committed Dec 20, 2013
    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 committed Dec 20, 2013
    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 committed Dec 20, 2013
    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 committed Dec 20, 2013
    git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5437 be7e6eca-30d4-0310-a8e5-ac0d63af7087