tag 766350 pending
thanks

Date:   Thu Nov 19 09:22:11 2015 +0100
Author: Guido Günther <a...@sigxcpu.org>
Commit ID: 8583e0364cf785f9d036b25a778c6c20690c44a8
Commit URL: 
https://git.sigxcpu.org/cgit/git-buildpackage/;a=commitdiff;h=8583e0364cf785f9d036b25a778c6c20690c44a8
Patch URL: 
https://git.sigxcpu.org/cgit/git-buildpackage/;a=commitdiff_plain;h=8583e0364cf785f9d036b25a778c6c20690c44a8

    import-dsc: Bail out if target dir exists

    If import-dsc is not run from within a Git repository it tries to create
    one named like the souce package. If that directory already exists we
    get confusing message like:

        gbp:info: No git repository found, creating one.
        gbp:warning: Version 0.7.0 already imported.
        gbp:info: Everything imported under /foo/git-buildpackage

    Avoid this by checking if the directory exists and aborting in this
    case.

    Closes: #766350

A snapshot build including this change will be available at
http://honk.sigxcpu.org:8001/job/git-buildpackage/
      

Reply via email to