[Digikam-devel] Re: how to use git as subversion
Gilles Caulier
caulier.gilles at gmail.com
Mon Feb 7 10:46:30 GMT 2011
Just to be clear, this is my git config :
[gilles at localhost ~]$ cat .gitconfig
[url "git://anongit.kde.org/"]
insteadOf = kde:
[url "git at git.kde.org:"]
pushInsteadOf = kde:
[url "ssh://git@git.kde.org/"]
pushinsteadof = kde://
[alias]
up = pull --rebase -v
ci = commit -a -v
[core]
editor = mcedit
[user]
name = Gilles Caulier
email = caulier.gilles at gmail.com
[push]
default = tracking
Gilles Caulier
2011/2/7 Gilles Caulier <caulier.gilles at gmail.com>:
> ok, some progress...
>
> Damned... git it's a big puzzle. welcome to future errors...
>
> I set this, as Marcel said in a previous mail :
>
> [gilles at localhost core]$ git config --global push.default tracking
>
> and now, when i touch NEWS file, to commit to remote repository, i can
> see error messages.
>
> File is committed locally :
>
> [gilles at localhost core]$ git ci -v
>
> [2.0 596dd0e] update
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> ... It's fine. Now i PUSH the file to remote server :
>
> [gilles at localhost core]$ git push -v
> Pushing to ssh://git@git.kde.org/digikam
> Counting objects: 5, done.
> Delta compression using up to 2 threads.
> Compressing objects: 100% (3/3), done.
> Writing objects: 100% (3/3), 288 bytes, done.
> Total 3 (delta 2), reused 0 (delta 0)
> remote: Audit failure - Commit
> 596dd0e1430516916227e970488d03a97f90b7e3 - Email Address - caulier dot
> gilles at gmail dot com
> remote: Traceback (most recent call last):
> remote: File "hooks/update.secondary", line 79, in <module>
> remote: auditor.audit_metadata()
> remote: File "/home/git/repo-management/hooks/hooklib.py", line 353,
> in audit_metadata
> remote: domain = extraction.group(2)
> remote: AttributeError: 'NoneType' object has no attribute 'group'
> remote: error: hook declined to update refs/heads/development/2.0
> To ssh://git@git.kde.org/digikam
> ! [remote rejected] 2.0 -> development/2.0 (hook declined)
> error: failed to push some refs to 'ssh://git@git.kde.org/digikam'
>
> What is that (:=))))
>
> Gilles (thinking that Git is an unproductive tool !)
>
>
>
>
>
>
>
>
> 2011/2/7 Gilles Caulier <caulier.gilles at gmail.com>:
>> 2011/2/7 Gert Kello <gert.kello at gmail.com>:
>>>>> And You have to use additional set of commands to synchronize with
>>>>> remote repositories.
>>>>
>>>> Bahhhhh... Which one ? (:=)))
>>>>
>>> "git push"?
>>
>> But i do "git push". Do you read my previous mail ?
>>
>> Gilles
>>
>
More information about the Digikam-devel
mailing list