public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: mriou <matthieu.riou@gmail•com>
To: git@vger•kernel.org
Subject: git-svn: file not found in commit
Date: Thu, 11 Sep 2008 19:48:06 -0700 (PDT)	[thread overview]
Message-ID: <19448485.post@talk.nabble.com> (raw)


Hi,

I'm trying to import with git-svn an Apache repository located at:

http://svn.eu.apache.org/repos/asf/ode

Doing so, at some point git-svn seems to get lost when identifying a parent:

r563284 = 1e889810d5344e1222077f4026b028a922826d45 (trunk)
Found possible branch point:
https://svn.eu.apache.org/repos/asf/ode/trunk/tasks =>
https://svn.eu.apache.org/repos/asf/ode/branches/bart, 563283
Initializing parent: bart@563283
W: Ignoring error from SVN, path probably does not exist: (175007): HTTP
Path Not Found: '/repos/asf/!svn/bc/10001/ode/trunk/tasks' path not found
W: Do not be alarmed at the above message git-svn is just searching
aggressively for old history.
This may take a while on large repositories
branch_from: /incubator/ode => /incubator/ode/trunk/tasks
Found possible branch point:
https://svn.eu.apache.org/repos/asf/incubator/ode/trunk/tasks =>
https://svn.eu.apache.org/repos/asf/ode/trunk/tasks, 560672
Initializing parent: bart@560672
Found branch parent: (bart@563283) 69e8e3436d6572333b81a2c12cb6d3db8d4780a7
Following parent with do_switch
Successfully followed parent
r560673 = 7bf3908aca6fccf484f7dd806e57292400600f70 (bart@563283)
        D       hibernate.rake
        D       cobertura.rake
        D       jdepend.rake
jbi.rake was not found in commit 7bf3908aca6fccf484f7dd806e57292400600f70
(r560673)

The error message is correct, that revision didn't contain this file, it's
been added much later. So the parent identification seems to be getting it
wrong. And I have to agree the logs are confusing around that revision:

$ svn log -r 563283:563286 --verbose https://svn.apache.org/repos/asf/
------------------------------------------------------------------------
r563283 | mszefler | 2007-08-07 00:19:24 +0300 (Tue, 07 Aug 2007) | 2 lines
Changed paths:
  D /ode/branches/bart

Remove.
------------------------------------------------------------------------
r563284 | mszefler | 2007-08-07 00:19:32 +0300 (Tue, 07 Aug 2007) | 2 lines
Changed paths:
  A /ode/branches/bart (from /ode/trunk/tasks:563283)
  D /ode/trunk/tasks

Moved.
------------------------------------------------------------------------
r563285 | mszefler | 2007-08-07 00:20:11 +0300 (Tue, 07 Aug 2007) | 2 lines
Changed paths:
  A /ode/trunk/tasks (from /ode/branches/bart:563284)

copyied back.
------------------------------------------------------------------------
r563286 | mszefler | 2007-08-07 00:21:57 +0300 (Tue, 07 Aug 2007) | 2 lines
Changed paths:
  A /ode/branches/bart/tasks (from /ode/trunk/tasks:563285)

copied.
------------------------------------------------------------------------

So my questions are the following:
 - is there a way I can help git svn finding the correct ancestor?
 - is there a way I can ask git svn to ignore ancestors only when it fails?

If the answer is no in both cases, maybe I could add a switch to ignore
those errors?

Thanks,
Matthieu
-- 
View this message in context: http://www.nabble.com/git-svn%3A-file-not-found-in-commit-tp19448485p19448485.html
Sent from the git mailing list archive at Nabble.com.

                 reply	other threads:[~2008-09-12  2:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=19448485.post@talk.nabble.com \
    --to=matthieu.riou@gmail$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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