Package: git-buildpackage
Version: 0.4.67
Severity: normal
Tags: lenny

If you choose to gbp-clone a repo with trailing slashes, you will get
this error:

$ gbp-clone ../path/repo.git/
Initialized empty Git repository in /path/to/repo/.git/
../path/repo.git/
Traceback (most recent call last):
  File "/usr/bin/gbp-clone", line 105, in <module>
    sys.exit(main(sys.argv))
  File "/usr/bin/gbp-clone", line 73, in main
    os.chdir(clone)
OSError: [Errno 2] No such file or directory: ''

But it works without trailing slashes. I'm not sure if a rstrip('/') would work
in all cases, but I think it would.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (600, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-buildpackage depends on:
ii  devscripts                    2.10.64    scripts to make the life of a Debi
ii  git [git-core]                1:1.7.1-1  fast, scalable, distributed revisi
ii  git-core                      1:1.7.1-1  fast, scalable, distributed revisi
ii  python                        2.5.4-9    An interactive high-level object-o
ii  python-dateutil               1.4.1-3    powerful extensions to the standar
ii  python-support                1.0.8      automated rebuilding support for P

Versions of packages git-buildpackage recommends:
ii  pristine-tar                  1.03       regenerate pristine tarballs

Versions of packages git-buildpackage suggests:
ii  git-load-dirs                 1.1.8      Import upstream archives into git

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to