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

Re: git svn fails to work

From
Dmitry Potapov <dpotapov@gmail.com>
Date
Mar 29, 2009, 04:38 UTC
Message-ID
<37fcd2780903282138y2b2a7c68lc9b9f9803206f63d@mail.gmail.com>
In-Reply-To
<7D416C4D4B0B43FB9E0A04FA641CCEE5@HPLAPTOP>

On Sun, Mar 29, 2009 at 12:42 AM, Aaron Gray <aaronngray.lists@googlemail.com> wrote:

Show 10 quoted lines
>
> 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
Previous: Andreas Ericsson
Message 7 of 7 in “git svn fails to work”
  1. Aaron GrayMar 28, 2009
  2. Dmitry PotapovMar 28, 2009
  3. Aaron GrayMar 28, 2009
  4. Jacob HelwigMar 28, 2009
  5. Getting GIT+git-daemon+gitweb working properly on Fedora 10Aaron Gray, Mar 28, 2009
  6. Andreas EricssonMar 30, 2009
  7. Dmitry PotapovMar 29, 2009

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.