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

« back to all changes in this revision

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