git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Potapov <dpotapov@gmail.com>
To: Aaron Gray <aaronngray.lists@googlemail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: git svn fails to work
Date: Sun, 29 Mar 2009 07:38:59 +0300	[thread overview]
Message-ID: <37fcd2780903282138y2b2a7c68lc9b9f9803206f63d@mail.gmail.com> (raw)
In-Reply-To: <7D416C4D4B0B43FB9E0A04FA641CCEE5@HPLAPTOP>

On Sun, Mar 29, 2009 at 12:42 AM, Aaron Gray
<aaronngray.lists@googlemail.com> wrote:
>
> The commands
>
>   git svn clone http://llvm.org/svn/llvm-project/llvm/trunk
>
> when connection fails I do a :-
>
>   git svn fetch
>
> gitweb is not updating at all to show any change in the repository.

"git svn fetch" only updates the remote branch. In the same way as
"git fetch" only fetches changes from the remote repo and updates
the remote branch. You can see only local branches with gitweb.

So, you may want to run "git svn rebase" instead. (Note: the command
is "git svn rebase" and not "git clone rebase" as you wrote earlier).

"git svn rebase" fetches all changes as "git svn fetch" does but then it
rebases your local commits on the current branch on top of the svn
remote branch. If you do not have any local commits then it just
updates the top of the current branch to be the same.
Note:  Running "git svn rebase" requires that your working tree is
clean (no uncommitted changes).

You can always see all branches and what changes they have by
 running:
   gitk --all &

Dmitry

      parent reply	other threads:[~2009-03-29  4:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-28 17:48 git svn fails to work Aaron Gray
2009-03-28 20:51 ` Dmitry Potapov
2009-03-28 21:43   ` Aaron Gray
2009-03-28 22:01     ` Jacob Helwig
2009-03-28 23:18       ` Getting GIT+git-daemon+gitweb working properly on Fedora 10 Aaron Gray
2009-03-30  9:24         ` Andreas Ericsson
     [not found]   ` <7D416C4D4B0B43FB9E0A04FA641CCEE5@HPLAPTOP>
2009-03-29  4:38     ` Dmitry Potapov [this message]

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=37fcd2780903282138y2b2a7c68lc9b9f9803206f63d@mail.gmail.com \
    --to=dpotapov@gmail.com \
    --cc=aaronngray.lists@googlemail.com \
    --cc=git@vger.kernel.org \
    /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).