diff --git a/config/deb/control b/config/deb/control index 2ec3a35e..71d0f52d 100644 --- a/config/deb/control +++ b/config/deb/control @@ -6,8 +6,8 @@ Build-Depends: debhelper (>= 4.2) Build-Depends-Indep: perl (>= 5.6.0-16) Standards-Version: 3.7.2 Homepage: http://www.percona.com/software/percona-toolkit/ -Vcs-Browser: http://bazaar.launchpad.net/~percona-toolkit-dev/percona-toolkit/0.9/files -Vcs-Bzr: bzr+ssh://bazaar.launchpad.net/~percona-toolkit-ddev/percona-toolkit/0.9/ +Vcs-Browser: https://github.com/percona/percona-toolkit +Vcs-Git: git://github.com/percona/percona-toolkit.git Package: percona-toolkit Architecture: all diff --git a/util/build-packages b/util/build-packages index d9752c9c..73d98fd9 100755 --- a/util/build-packages +++ b/util/build-packages @@ -86,8 +86,8 @@ TAR=${TAR:-tar} check_branch() { echo -n "Checking branch... " - local clean_branch=$(bzr version-info --check-clean | grep -i 'clean: True') - if [ -z "$clean_branch" ]; then + local clean_branch=$(git status --porcelain|wc -l) + if [ "$clean_branch" -gt 0 ]; then die "The branch has uncommitted changes or unknown files" fi echo "OK" @@ -491,9 +491,9 @@ if [ $BUILD -eq 1 ]; then Branch verified and updated; ready to build $PKG, but first you must: - 1. bzr diff and review the changes (Changelog, percon-toolkit.pod, etc.) - 2. bzr commit -m "Build $PKG" - 3. bzr push + 1. git diff and review the changes (Changelog, percon-toolkit.pod, etc.) + 2. git commit -m "Build $PKG" + 3. git push Press any key to continue... (or Ctrl-C to abort) MSG