Sha256: b2bbe4916c352092d65b8918c487523f3cd6706366081e56b7675f7bacf4e59f

Contents?: true

Size: 537 Bytes

Versions: 268

Compression:

Stored size: 537 Bytes

Contents

#!/usr/bin/env bash

set -e

source test/setup

use Test::More

clone-foo-and-bar

subrepo-clone-bar-into-foo

(
  cd $OWNER/bar
  add-new-files Bar2
  git push
) &> /dev/null || die

(
  cd $OWNER/foo
  add-new-files bar/Foo2
  git push
  git subrepo pull bar
) &> /dev/null || die

(
  cd $OWNER/bar
  add-new-files Bar3
  git push
) &> /dev/null || die

(
  cd $OWNER/foo
  git subrepo pull bar
) &> /dev/null || die

test-exists \
  "$OWNER/foo/bar/Bar2" \
  "$OWNER/foo/bar/Bar3" \
  "$OWNER/foo/bar/Foo2" \

done_testing

teardown

Version data entries

268 entries across 268 versions & 4 rubygems

Version Path
eac_tools-0.86.5 sub/eac_git/vendor/git-subrepo/test/pull-twice.t
eac_tools-0.86.4 sub/eac_git/vendor/git-subrepo/test/pull-twice.t
eac_tools-0.86.3 sub/eac_git/vendor/git-subrepo/test/pull-twice.t
eac_git-0.16.0 vendor/git-subrepo/test/pull-twice.t
eac_tools-0.86.2 sub/eac_git/vendor/git-subrepo/test/pull-twice.t
eac_git-0.15.0 vendor/git-subrepo/test/pull-twice.t
eac_tools-0.84.2 sub/eac_git/vendor/git-subrepo/test/pull-twice.t
eac_tools-0.84.1 sub/eac_git/vendor/git-subrepo/test/pull-twice.t
eac_tools-0.84.0 sub/eac_git/vendor/git-subrepo/test/pull-twice.t
eac_tools-0.83.0 sub/eac_git/vendor/git-subrepo/test/pull-twice.t
eac_tools-0.82.0 sub/eac_git/vendor/git-subrepo/test/pull-twice.t
eac_tools-0.81.0 sub/eac_git/vendor/git-subrepo/test/pull-twice.t
eac_tools-0.80.0 sub/eac_git/vendor/git-subrepo/test/pull-twice.t
eac_tools-0.79.0 sub/eac_git/vendor/git-subrepo/test/pull-twice.t
eac_tools-0.78.0 sub/eac_git/vendor/git-subrepo/test/pull-twice.t
eac_tools-0.77.1 sub/eac_git/vendor/git-subrepo/test/pull-twice.t
eac_tools-0.77.0 sub/eac_git/vendor/git-subrepo/test/pull-twice.t
eac_tools-0.76.1 sub/eac_git/vendor/git-subrepo/test/pull-twice.t
eac_tools-0.76.0 sub/eac_git/vendor/git-subrepo/test/pull-twice.t
eac_tools-0.75.2 sub/eac_git/vendor/git-subrepo/test/pull-twice.t