git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Keeping <john@keeping.me.uk>
To: Chris Rorvick <chris@rorvick.com>
Cc: Junio C Hamano <gitster@pobox.com>,
	git@vger.kernel.org, "Eric S. Raymond" <esr@thyrsus.com>
Subject: Re: What's cooking in git.git (Jan 2013, #08; Tue, 22)
Date: Wed, 23 Jan 2013 13:55:10 +0000	[thread overview]
Message-ID: <20130123135510.GN7498@serenity.lan> (raw)
In-Reply-To: <CAEUsAPaUy5ug0_HPjWDTSnAG0kURhP-1-9nOu9_Tpn5nEv6N_Q@mail.gmail.com>

On Wed, Jan 23, 2013 at 07:26:24AM -0600, Chris Rorvick wrote:
> On Wed, Jan 23, 2013 at 3:28 AM, John Keeping <john@keeping.me.uk> wrote:
> > In my opinion the incremental import support really is substantially
> > worse in cvsimport-3 than cvsimport-2.  cvsimport-2 looks at the output
> > of git-for-each-ref to calculate the dates from which to continue each
> > branch.  cvsps cannot be told this information and so the cvsimport-3
> > script just takes the date of the last commit on the current branch.
> 
> Do you really need a timestamp per branch, though?  If you have
> branches A and B, and B has a commit timestamp 5 minutes after A, you
> can infer that nothing happened on A for those five minutes, right?
> So maybe a single timestamp is sufficient, it just may not be picking
> the right one.  Instead cvsimport-3 should compute the latest
> timestamp across all import branches.

The problem is telling which is an import branch, since it currently
just used "refs/heads/<branch>".

I do have a change to write the timestamp to a file, which takes the
newest commit across all of the branches that have changed during an
import.  That may well be good enough but doesn't let you incrementally
update a repository that has been cloned from elsewhere.


John

  reply	other threads:[~2013-01-23 13:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-22 22:44 What's cooking in git.git (Jan 2013, #08; Tue, 22) Junio C Hamano
2013-01-22 23:45 ` John Keeping
2013-01-23  0:11   ` Junio C Hamano
2013-01-23  9:28     ` John Keeping
2013-01-23 13:26       ` Chris Rorvick
2013-01-23 13:55         ` John Keeping [this message]
2013-01-23 17:13       ` Junio C Hamano
2013-01-23 21:12         ` John Keeping
2013-01-24  5:04           ` Junio C Hamano
2013-01-24 19:18             ` [PATCH] git-cvsimport.txt: cvsps-2 is deprecated John Keeping
2013-01-24 20:04               ` Junio C Hamano
2013-01-24 20:13                 ` John Keeping
2013-01-24 20:58                   ` Junio C Hamano
2013-01-25  4:55           ` What's cooking in git.git (Jan 2013, #08; Tue, 22) Chris Rorvick
2013-01-25  9:09             ` John Keeping

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130123135510.GN7498@serenity.lan \
    --to=john@keeping.me.uk \
    --cc=chris@rorvick.com \
    --cc=esr@thyrsus.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).