ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] sync with non-git repos
Date: Wed, 13 Sep 2006 06:03:23 +0400
Message-ID: <20060913020323.GR17693@localhost.localdomain> (raw)
In-Reply-To: <20060912174012.GE28258@nomad.office.altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 2507 bytes --]

On Tue, Sep 12, 2006 at 09:40:13PM +0400, Dmitry V. Levin wrote:
> Клонировать к себе свой репозиторий с git.altlinux.org:
> $ git-clone git.alt:packages/vitmp.git
> remote: Generating pack...
> remote: Done counting 12 objects.
> remote: Deltifying 12 objects.
> remote:  100% (12/12) done
> remote: Total 12, written 12 (delta 2), reused 12 (delta 2)
> Клонировать к себе чужой репозиторий с git.altlinux.org:
> $ git-clone git.alt:/people/ldv/packages/vitmp.git

Вот какая проблема получается.  Я в своем локальном репозитарии делал
git-svn fetch и потом сделал push в git.alt.  После того, как
отклонировать этот репозитарий c git.alt, git-svn fetch уже не работает.

$ cd `mktemp -d`
$ git-clone git.alt:packages/fpcmake.git
$ cd fpcmake
$ GIT_SVN_NO_LIB=1 git-svn fetch
Upgrading repository...
Data from a previous version of git-svn exists, but
        /tmp/.private/at/tmp.lPqmr19721/fpcmake/.git/svn/git-svn
        (required for this version (1.4.2.GIT) of git-svn) does not.
Done upgrading.
No such file or directory: file: /tmp/.private/at/tmp.lPqmr19721/fpcmake/.git/svn/git-svn/info/url
 at /usr/bin/git-svn line 1824
        main::file_to_s('/tmp/.private/at/tmp.lPqmr19721/fpcmake/.git/svn/git-svn/info...') called at /usr/bin/git-svn line 289
        main::fetch() called at /usr/bin/git-svn line 149
$ find .git/svn/        
.git/svn/
.git/svn/git-svn
.git/svn/git-svn/.rev_db
$

В локальном репозитарии в .git/svn/ лежит вот что:

$ find .git/svn/ |head -20
.git/svn/
.git/svn/git-svn
.git/svn/git-svn/info
.git/svn/git-svn/info/url
.git/svn/git-svn/info/exclude
.git/svn/git-svn/.rev_db
.git/svn/git-svn/tree
.git/svn/git-svn/tree/.svn
.git/svn/git-svn/tree/.svn/text-base
.git/svn/git-svn/tree/.svn/text-base/fpcmdic.pp.svn-base
.git/svn/git-svn/tree/.svn/text-base/Makefile.fpc.svn-base
.git/svn/git-svn/tree/.svn/text-base/fpcmake.ini.svn-base
.git/svn/git-svn/tree/.svn/text-base/fpcmake.pp.svn-base
.git/svn/git-svn/tree/.svn/text-base/fpcmpkg.pp.svn-base
.git/svn/git-svn/tree/.svn/text-base/makefile.exm.svn-base
.git/svn/git-svn/tree/.svn/text-base/fpcmmain.pp.svn-base
.git/svn/git-svn/tree/.svn/text-base/readme.txt.svn-base
.git/svn/git-svn/tree/.svn/text-base/fpcmwr.pp.svn-base
.git/svn/git-svn/tree/.svn/text-base/Makefile.svn-base
.git/svn/git-svn/tree/.svn/text-base/fpcmake.inc.svn-base
$

То есть в git.alt получается неполоноценный репозитарий, с которым
нельзя продолжать работать так же, как с локальным.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2006-09-13  2:03 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-12 17:40 [devel] I: git.altlinux.org: people/*/packages/ developers howto Dmitry V. Levin
2006-09-12 17:50 ` Alexey Gladkov
2006-09-12 20:46   ` Dmitry V. Levin
2006-09-13  0:10     ` Alexey Gladkov
2006-09-13  0:21       ` Dmitry V. Levin
2006-09-13  5:31         ` Kirill Maslinsky
2006-09-13 12:37           ` Dmitry V. Levin
2006-09-13 23:18             ` Kirill Maslinsky
2006-09-13 20:44               ` Dmitry V. Levin
2006-09-13  7:31         ` Stanislav Ievlev
2006-09-13  7:31         ` Alexey Gladkov
2006-09-12 17:58 ` Alexey Tourbin
2006-09-12 20:21   ` Igor Zubkov
2006-09-12 20:52     ` Dmitry V. Levin
2006-09-12 20:47   ` Dmitry V. Levin
2006-09-12 19:09 ` Alexey Tourbin
2006-09-12 20:49   ` Dmitry V. Levin
2006-09-12 22:41 ` Alexey Tourbin
2006-09-12 23:54   ` Dmitry V. Levin
2006-09-13  0:14     ` Alexey Tourbin
2006-09-13  0:16       ` Alexey Tourbin
2006-09-13  0:30         ` Dmitry V. Levin
2006-09-13  0:24       ` Dmitry V. Levin
2006-09-13  3:10         ` Денис Смирнов
2006-09-13  2:03 ` Alexey Tourbin [this message]
2006-09-13  6:21   ` [devel] sync with non-git repos Alexey I. Froloff
2006-09-13  6:22   ` Alexey I. Froloff
2006-09-13  7:04     ` Alexey I. Froloff
2006-09-15 10:32 ` [devel] I: git.altlinux.org: people/*/packages/ developers howto Alexey Borovskoy
2006-09-15 11:48   ` Dmitry V. Levin
2006-09-24 20:11     ` Dmitry V. Levin

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=20060913020323.GR17693@localhost.localdomain \
    --to=at@altlinux.ru \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git