[Bug 590094] New: git hook backtrace



If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=590094

  sysadmin | Other | Ver: unspecified
           Summary: git hook backtrace
           Product: sysadmin
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: Other
        AssignedTo: sysadmin-maint gnome bugs
        ReportedBy: hadess hadess net
         QAContact: sysadmin-maint gnome bugs
     GNOME version: Unspecified
   GNOME milestone: Unspecified


I created an empty git repo and it got a bit scared:


$ ssh hadess git gnome org create-repository hardware-device-themes
Initialized empty shared Git repository in /git/hardware-device-themes.git/
Updating the repository list... done
You can now import an existing Git repository using:

  git push --exec=import ssh://hadess git gnome org/git/hardware-device-themes
refs/heads/* refs/tags/*

When you are finished importing and everything looks good, run:

  ssh hadess git gnome org finish-import hardware-device-themes

$ ssh hadess git gnome org finish-import hardware-device-themes
Clearing pending flag on /git/hardware-device-themes.git
Updating the repository list... done
hardware-device-themes is now ready for use

$ git clone gnome:hardware-device-themes
Initialized empty Git repository in
/home/hadess/Projects/Cvs/hardware-device-themes/.git/
warning: You appear to have cloned an empty repository.

$ cd hardware-device-themes
$ touch README
$ vi README
$ git add README
$ git commit -a
[master (root-commit) 1f44dc9] First commit
 1 files changed, 13 insertions(+), 0 deletions(-)
 create mode 100644 README
$ git push origin master
Counting objects: 3, done.
Delta compression using 2 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 499 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
To ssh://git.gnome.org/git/hardware-device-themes
 * [new branch]      master -> master
Use of uninitialized value in concatenation (.) or string at
/home/admin/gitadmin-bin/ciabot.pl line 155.
error: Object b1caa768cec4b1091f0ff58551bd05969acd26fd is a tree, not a commit
fatal: ambiguous argument
'1f44dc93550b36c798c88c3255c90d921939b9a3^..1f44dc93550b36c798c88c3255c90d921939b9a3':
unknown revision or path not in the working tree.
Use '--' to separate paths from revisions

Traceback (most recent call last):
  File "/home/admin/gitadmin-bin/gnome-post-receive-email", line 878, in ?
    main()
  File "/home/admin/gitadmin-bin/gnome-post-receive-email", line 873, in main
    change.prepare()
  File "/home/admin/gitadmin-bin/gnome-post-receive-email", line 239, in
prepare
    self.added_commits = rev_list_commits(first_detailed_commit + "^.." +
self.newrev)
  File "/home/admin/gitadmin-bin/git.py", line 136, in rev_list_commits
    lines = git.rev_list(*args, **kwargs_copy)
  File "/home/admin/gitadmin-bin/git.py", line 121, in f
    return git_run(command, *args, **kwargs)
  File "/home/admin/gitadmin-bin/git.py", line 107, in git_run
    raise CalledProcessError(process.returncode, " ".join(to_run))
git.CalledProcessError: Command 'git rev-list --pretty=format:%s
1f44dc93550b36c798c88c3255c90d921939b9a3^..1f44dc93550b36c798c88c3255c90d921939b9a3'
returned non-zero exit status 128
error: hooks/post-receive exited with error code 1
$ git push 
Everything up-to-date
$ git pull --rebase
Current branch master is up to date.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=590094.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]