Bug 627748 - fedpkg crash when cloning with --branches option
Summary: fedpkg crash when cloning with --branches option
Keywords:
Status: CLOSED DUPLICATE of bug 627174
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-packager
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Dennis Gilmore
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-26 20:07 UTC by Matthew Truch
Modified: 2013-01-10 06:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-27 00:28:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matthew Truch 2010-08-26 20:07:41 UTC
Description of problem:
Crash when using "fedpkg clone --branches $MODULE"

Version-Release number of selected component (if applicable):
fedpkg-0.5.1.3-1.fc13.noarch

How reproducible:
Always

Steps to Reproduce:
1. fedpkg clone --branches cfitsio
  
Actual results:
Crash

Expected results:
A clone of all branches of cfitsio in their own subdirectories.  I also tried this with other modules I own.  Using fedpkg clone without the --branches option works as expected.  

Additional info:

Traceback stuff from ABRT (which wouldn't let me submit this bug claiming that it was a dupe of 622716).

repo.py:116:__init__:InvalidGitRepositoryError: /home/matt/fedora/cfitsio

Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 1086, in <module>
    args.command(args)
  File "/usr/bin/fedpkg", line 425, in clone
    pyfedpkg.clone_with_dirs(args.module[0], args.user)
  File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line 413, in clone_with_dirs
    clone(module, user, top_path, bare_dir=repo_path)
  File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line 385, in clone
    repo = git.Repo(module)
  File "/usr/lib/python2.6/site-packages/git/repo.py", line 116, in __init__
    raise InvalidGitRepositoryError(epath)
InvalidGitRepositoryError: /home/matt/fedora/cfitsio

Local variables in innermost frame:
dummy: ''
self: <git.Repo "None">
curpath: '/'
epath: '/home/matt/fedora/cfitsio'
path: 'cfitsio'
gitpath: '/.git'

Comment 1 Jesse Keating 2010-08-27 00:28:32 UTC

*** This bug has been marked as a duplicate of bug 627174 ***


Note You need to log in before you can comment on or make changes to this bug.