~ubuntu-branches/ubuntu/intrepid/git-core/intrepid-security

« back to all changes in this revision

Viewing changes to t/t9110-git-svn-use-svm-props.sh

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape
  • Date: 2007-10-04 08:27:01 UTC
  • mfrom: (1.1.23)
  • Revision ID: package-import@ubuntu.com-20071004082701-rsd058ontoqz4i30
Tags: 1:1.5.3.4-1
new upstream point release (closes: #445188).

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
        git-svn init --minimize-url -R argh -i dir $svnrepo/mirror/argh &&
14
14
        git-svn init --minimize-url -R argh -i e \
15
15
          $svnrepo/mirror/argh/a/b/c/d/e &&
16
 
        git-config svn.useSvmProps true &&
 
16
        git config svn.useSvmProps true &&
17
17
        git-svn fetch --all
18
18
        "
19
19
 
21
21
 
22
22
bar_url=http://mayonaise/svnrepo/bar
23
23
test_expect_success 'verify metadata for /bar' "
24
 
        git-cat-file commit refs/remotes/bar | \
 
24
        git cat-file commit refs/remotes/bar | \
25
25
           grep '^git-svn-id: $bar_url@12 $uuid$' &&
26
 
        git-cat-file commit refs/remotes/bar~1 | \
 
26
        git cat-file commit refs/remotes/bar~1 | \
27
27
           grep '^git-svn-id: $bar_url@11 $uuid$' &&
28
 
        git-cat-file commit refs/remotes/bar~2 | \
 
28
        git cat-file commit refs/remotes/bar~2 | \
29
29
           grep '^git-svn-id: $bar_url@10 $uuid$' &&
30
 
        git-cat-file commit refs/remotes/bar~3 | \
 
30
        git cat-file commit refs/remotes/bar~3 | \
31
31
           grep '^git-svn-id: $bar_url@9 $uuid$' &&
32
 
        git-cat-file commit refs/remotes/bar~4 | \
 
32
        git cat-file commit refs/remotes/bar~4 | \
33
33
           grep '^git-svn-id: $bar_url@6 $uuid$' &&
34
 
        git-cat-file commit refs/remotes/bar~5 | \
 
34
        git cat-file commit refs/remotes/bar~5 | \
35
35
           grep '^git-svn-id: $bar_url@1 $uuid$'
36
36
        "
37
37
 
38
38
e_url=http://mayonaise/svnrepo/dir/a/b/c/d/e
39
39
test_expect_success 'verify metadata for /dir/a/b/c/d/e' "
40
 
        git-cat-file commit refs/remotes/e | \
 
40
        git cat-file commit refs/remotes/e | \
41
41
           grep '^git-svn-id: $e_url@1 $uuid$'
42
42
        "
43
43
 
44
44
dir_url=http://mayonaise/svnrepo/dir
45
45
test_expect_success 'verify metadata for /dir' "
46
 
        git-cat-file commit refs/remotes/dir | \
 
46
        git cat-file commit refs/remotes/dir | \
47
47
           grep '^git-svn-id: $dir_url@2 $uuid$' &&
48
 
        git-cat-file commit refs/remotes/dir~1 | \
 
48
        git cat-file commit refs/remotes/dir~1 | \
49
49
           grep '^git-svn-id: $dir_url@1 $uuid$'
50
50
        "
51
51