Advertisement
Guest User

sh -x output of a test script for svn-git conversion

a guest
Sep 11th, 2012
543
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.11 KB | None | 0 0
  1. + pwd
  2. + basedir=/tmp/x/
  3. + repo=file:///tmp/x/_converted_to_git/hsz_sem/
  4. + target=hsz_sem.git
  5. + git svn clone file:///tmp/x/_converted_to_git/hsz_sem/ --no-metadata -A authors-transform.txt -T / tmp-hsz_sem.git
  6. Initialized empty Git repository in /tmp/x/tmp-hsz_sem.git/.git/
  7. W: +empty_dir: test/hsz_sem_logbrowser_test
  8. r1 = 041c5717308c1e5c64968b323371f2a04d475be3 (refs/remotes/trunk)
  9. A test/hsz_sem_logbrowser_test/.settings/org.eclipse.jdt.core.prefs
  10. A test/hsz_sem_logbrowser_test/.settings/org.eclipse.jdt.ui.prefs
  11. W: +empty_dir: test/hsz_sem_logbrowser_test/bin
  12. r2 = 763215c151c4a8d6193756d34533fb6a8f3cb5ed (refs/remotes/trunk)
  13.  
  14. [...]
  15.  
  16. r112 = b1d9409b88dd640868947fcf45b2468cd94faa06 (refs/remotes/trunk)
  17. Checked out HEAD:
  18. file:///tmp/x/_converted_to_git/hsz_sem r112
  19. creating empty directory: test/mvnweb/logbrowsertest-web/src/main/resources
  20. + cd /tmp/x/./tmp-hsz_sem.git/
  21. + git svn show-ignore -i trunk
  22. + git status
  23. # On branch master
  24. # Untracked files:
  25. # (use "git add <file>..." to include in what will be committed)
  26. #
  27. # .gitignore
  28. nothing added to commit but untracked files present (use "git add" to track)
  29. + git add .gitignore
  30. + git commit -m Convert svn:ignore properties to .gitignore.
  31. [master bf071c2] Convert svn:ignore properties to .gitignore.
  32. 1 file changed, 54 insertions(+)
  33. create mode 100644 .gitignore
  34. + ls -la
  35. total 36
  36. drwxrwxr-x 8 daniel daniel 4096 Sep 12 00:04 .
  37. drwxrwxr-x 5 daniel daniel 4096 Sep 12 00:04 ..
  38. drwxrwxr-x 4 daniel daniel 4096 Sep 12 00:04 code
  39. drwxrwxr-x 2 daniel daniel 4096 Sep 12 00:04 data
  40. drwxrwxr-x 4 daniel daniel 4096 Sep 12 00:04 doc
  41. drwxrwxr-x 9 daniel daniel 4096 Sep 12 00:04 .git
  42. -rw-rw-r-- 1 daniel daniel 1482 Sep 12 00:04 .gitignore
  43. drwxrwxr-x 3 daniel daniel 4096 Sep 12 00:04 tags
  44. drwxrwxr-x 4 daniel daniel 4096 Sep 12 00:04 test
  45. + cd /tmp/x/.
  46. + git init --bare new-hsz_sem.git
  47. Initialized empty Git repository in /tmp/x/new-hsz_sem.git/
  48. + cd /tmp/x/./new-hsz_sem.git/
  49. + git symbolic-ref HEAD refs/heads/trunk
  50. + cd /tmp/x/./tmp-hsz_sem.git/
  51. + git remote add bare ../new-hsz_sem.git
  52. + git config remote.bare.push refs/remotes/*:refs/heads/*
  53. + git push bare
  54. To ../new-hsz_sem.git
  55. * [new branch] trunk -> trunk
  56. + cd /tmp/x/.
  57. + rm -Rf tmp-hsz_sem.git/
  58. + cd /tmp/x/./new-hsz_sem.git/
  59. + git branch -m trunk master
  60. + git tag latest-svn
  61. + cd /tmp/x/./new-hsz_sem.git/
  62. + git for-each-ref --format=%(refname) refs/heads/tags
  63. + cut -d / -f 4
  64. + read ref
  65. + git for-each-ref
  66. b1d9409b88dd640868947fcf45b2468cd94faa06 commit refs/heads/master
  67. b1d9409b88dd640868947fcf45b2468cd94faa06 commit refs/tags/latest-svn
  68. + cd /tmp/x/.
  69. + git clone new-hsz_sem.git/ test-hsz_sem.git
  70. Cloning into 'test-hsz_sem.git'...
  71. done.
  72. + ls -la test-hsz_sem.git/
  73. total 32
  74. drwxr-xr-x 8 daniel daniel 4096 Sep 12 00:04 .
  75. drwxrwxr-x 6 daniel daniel 4096 Sep 12 00:04 ..
  76. drwxrwxr-x 4 daniel daniel 4096 Sep 12 00:04 code
  77. drwxrwxr-x 2 daniel daniel 4096 Sep 12 00:04 data
  78. drwxrwxr-x 4 daniel daniel 4096 Sep 12 00:04 doc
  79. drwxrwxr-x 8 daniel daniel 4096 Sep 12 00:04 .git
  80. drwxrwxr-x 3 daniel daniel 4096 Sep 12 00:04 tags
  81. drwxrwxr-x 4 daniel daniel 4096 Sep 12 00:04 test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement