git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re[2]: State of CVS-to-git conversion tools (Was: Re: cvsps: bad usage: invalid argument --norc)

From
IBIlya Basin <basinilya@gmail.com>
Date
Apr 23, 2013, 18:30 UTC
Message-ID
<538486753.20130423223007@gmail.com>
In-Reply-To
<20130423175000.GA25994@thyrsus.com>
>> But if the branch is new, but it's parent commit is already imported,
>> I guess, the only way to refer it is by its SHA-1
>> Eric, what parent information can cvsps provide for the first commit
>> in a branch, when invoked with the '-d' flag?

ESR> At the moment it doesn't provide any at all. That case wasn't on my ESR> radar when I was fixing the code. If you can specify a behavior you ESR> think would be useful, I'm listening.

For new branches the 'from' command can refer the common ancestor in an existing branch. For example:

         /----------E thebranch
        /
    A---B---C---D master
Commit E is newer than D; we already imported D; thebranch is new.
Instead of:
    from refs/heads/thebranch^0
refer the parent as:
    from refs/heads/master^2

ESR> Look at the -i option. That may do what you need. ESR>

OK, something's wrong with the man page: starting with '-A' the description is unstructured:

       -A authormap
           Apply an author-map file to the attribution lines. Each line must be of the form
               ferd = Ferd J. Foonly <foonly@foo.com> America/Chicago
           and will be applied to map the Unix username ferd to the DVCS-style user identity specified after the equals
           sign. The timezone field (after > and whitespace) is optional and (if present) is used to set the timezone
           offset to be attached to the date; acceptable formats for the timezone field are anything that can be in the TZ
           environment variable, including a [+-]hhmm offset. Whitespace around the equals sign is stripped. Lines
           beginning with a # or not containing an equals sign are silently ignored. -R revmap:: Write a revision map to
           the specified argument filename. Each line of the revision map consists of three whitespace-separated fields: a
           filename, an RCS revision number, and the mark of the commit to which that filename-revision pair was assigned.
           -v:: show very verbose parsing messages. -t:: show some brief memory usage statistics. --summary-first:: when
           multiple patchset diffs are being generated, put the patchset summary for all patchsets at the beginning of the
           output. --diffs-opts option string:: send a custom set of options to diff, for example to increase the number
           of context lines, or change the diff format. --debuglvl bitmask:: enable various debug output channels. -Z
           compression:: A value 1-9 which specifies amount of compression. A value of 0 disables compression. --root
           cvsroot:: Override the setting of CVSROOT (overrides working directory and environment). -i:: Incremental
           export. Each commit with no ancestor gets a from pointer name. When importing to an existing repository, this
           will attach each such commit as a child of the last commit on $BRANCH in the existing repository. -k:: Kill
           keywords: will extract files with -kk from the CVS archive to avoid noisy changesets. -T:: Force deterministic
           dates for regression testing. Each patchset will have a monotonic-increasing attributed date computed from its
           patchset ID. --fast-export:: Emit the report as a git import stream. --convert-ignores:: Convert ..cvsignore
           files to .gitignore files. --reposurgeon:: Emit for each commit a list of the CVS file:revision pairs composing
           it as a bzr-style commit property named "cvs-revisions". From version 2.12 onward, reposurgeon can interpret
           these and use them as hints for reference-lifting. -V:: Emit the program version and exit.  module-path::
           Operate on the specified module. If this option is not given, either the CVSROOT environment variable must be
           set to point directly at the module or cvsps must be run in a checkout directory or repository module
           subdirectory.
--
 
Previous: Eric S. RaymondNext: Eric S. Raymond
Message 14 of 16 in “cvsps: bad usage: invalid argument --norc”
  1. Ilya BasinApr 14, 2013
  2. Ilya BasinApr 14, 2013
  3. John KeepingApr 14, 2013
  4. State of CVS-to-git conversion tools (Was: Re: cvsps: bad usage: invalid argument --norc)Eric S. Raymond, Apr 14, 2013
  5. Michael HaggertyApr 15, 2013
  6. Ilya BasinApr 15, 2013
  7. Jakub NarębskiApr 15, 2013
  8. Eric S. RaymondApr 18, 2013
  9. Does git fast-import support deltas?Ilya Basin, Apr 19, 2013
  10. Felipe ContrerasApr 19, 2013
  11. Jonathan NiederApr 19, 2013
  12. Re[2]: State of CVS-to-git conversion tools (Was: Re: cvsps: bad usage: invalid argument --norc)Ilya Basin, Apr 20, 2013
  13. Eric S. RaymondApr 23, 2013
  14. Re[2]: State of CVS-to-git conversion tools (Was: Re: cvsps: bad usage: invalid argument --norc)Ilya Basin, Apr 23, 2013
  15. Eric S. RaymondApr 23, 2013
  16. Re[2]: State of CVS-to-git conversion tools (Was: Re: cvsps: bad usage: invalid argument --norc)Ilya Basin, Apr 24, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.