Facebook
From krolus, 5 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 239
  1. pobi@pobi:~/Pulpit/fat1/trunk/hello$ cd Pulpit
  2. bash: cd: Pulpit: Nie ma takiego pliku ani katalogu
  3. pobi@pobi:~/Pulpit/fat1/trunk/hello$ cd ..
  4. pobi@pobi:~/Pulpit/fat1/trunk$ cd ..
  5. pobi@pobi:~/Pulpit/fat1$ cd ..
  6. pobi@pobi:~/Pulpit$ svn import --username test2 -m "Startowy import katalogu grupy." atalog https://serce.ics.p.lodz.pl/svn/test/atalog
  7. Dodawanie       atalog/branches
  8. Dodawanie       atalog/devteam.txt
  9. Dodawanie       atalog/tags
  10. Dodawanie       atalog/trunk
  11. Committing transaction...
  12. Zatwierdzona wersja 4317.
  13. pobi@pobi:~/Pulpit$ svn co --username test2 https://serce.ics.p.lodz.pl/svn/test/atalog atalog1
  14. A    atalog1/devteam.txt
  15. A    atalog1/trunk
  16. A    atalog1/branches
  17. A    atalog1/tags
  18. Pobrano wersję 4317.
  19. pobi@pobi:~/Pulpit$ cd atalog1
  20. pobi@pobi:~/Pulpit/atalog1$ cd trunk
  21. pobi@pobi:~/Pulpit/atalog1/trunk$ mkdir hello
  22. pobi@pobi:~/Pulpit/atalog1/trunk$ cd hello
  23. pobi@pobi:~/Pulpit/atalog1/trunk/hello$ touch hello.cpp
  24. pobi@pobi:~/Pulpit/atalog1/trunk/hello$ nano hello.cpp
  25. pobi@pobi:~/Pulpit/atalog1/trunk/hello$ svn add hello --depth empty
  26. svn: warning: W155010: Nie znaleziono '/home/pobi/Pulpit/atalog1/trunk/hello/hello'
  27. svn: E200009: Could not add all targets because some targets don't exist
  28. svn: E200009: Niedozwolony obiekt dla podanej operacji
  29. pobi@pobi:~/Pulpit/atalog1/trunk/hello$ svn add hello --depth empty
  30. svn: warning: W155010: Nie znaleziono '/home/pobi/Pulpit/atalog1/trunk/hello/hello'
  31. svn: E200009: Could not add all targets because some targets don't exist
  32. svn: E200009: Niedozwolony obiekt dla podanej operacji
  33. pobi@pobi:~/Pulpit/atalog1/trunk/hello$ svn add hello --depth empty
  34. svn: warning: W155010: Nie znaleziono '/home/pobi/Pulpit/atalog1/trunk/hello/hello'
  35. svn: E200009: Could not add all targets because some targets don't exist
  36. svn: E200009: Niedozwolony obiekt dla podanej operacji
  37. pobi@pobi:~/Pulpit/atalog1/trunk/hello$ cd ..
  38. pobi@pobi:~/Pulpit/atalog1/trunk$ svn add hello --depth empty
  39. A         hello
  40. pobi@pobi:~/Pulpit/atalog1/trunk$ svn add hello/hello.cpp
  41. A         hello/hello.cpp
  42. pobi@pobi:~/Pulpit/atalog1/trunk$ svn commit
  43.  
  44. Nie podano opisu zmian.
  45. Przerwij (a), kontynuuj (c), edytuj (e):
  46. c
  47. Dodawanie       hello
  48. Dodawanie       hello/hello.cpp
  49. Przesyłanie treści pliku.done
  50. Committing transaction...
  51. Zatwierdzona wersja 4318.
  52. pobi@pobi:~/Pulpit/atalog1/trunk$ g++ hello/hello.cpp
  53. pobi@pobi:~/Pulpit/atalog1/trunk$ ./hello/a.out
  54. bash: ./hello/a.out: Nie ma takiego pliku ani katalogu
  55. pobi@pobi:~/Pulpit/atalog1/trunk$ ./ hello/a.out
  56. bash: ./: Jest katalogiem
  57. pobi@pobi:~/Pulpit/atalog1/trunk$ ./hello/a.out
  58. bash: ./hello/a.out: Nie ma takiego pliku ani katalogu
  59. pobi@pobi:~/Pulpit/atalog1/trunk$ ./hello/a.out
  60. bash: ./hello/a.out: Nie ma takiego pliku ani katalogu
  61. pobi@pobi:~/Pulpit/atalog1/trunk$ cd hello
  62. pobi@pobi:~/Pulpit/atalog1/trunk/hello$ g++ hello.cpp
  63. pobi@pobi:~/Pulpit/atalog1/trunk/hello$ ./a.out
  64. Hello World!
  65. pobi@pobi:~/Pulpit/atalog1/trunk/hello$ set EDITOR=notepad.exe
  66. pobi@pobi:~/Pulpit/atalog1/trunk/hello$ svn propedit svn:ignore hello
  67. svn: E200005: '/home/pobi/Pulpit/atalog1/trunk/hello/hello' nie podlega zarządzaniu wersjami
  68. pobi@pobi:~/Pulpit/atalog1/trunk/hello$ cd ..
  69. pobi@pobi:~/Pulpit/atalog1/trunk$ svn propedit svn:ignore hello
  70. Bez zmian atrybutu svn:ignore dla 'hello'
  71. pobi@pobi:~/Pulpit/atalog1/trunk$ svn propedit
  72. svn: E205001: Try 'svn help propedit' for more information
  73. svn: E205001: Zbyt mało parametrów
  74. pobi@pobi:~/Pulpit/atalog1/trunk$ svn propedit svn:ignore
  75. svn: E205001: Try 'svn help propedit' for more information
  76. svn: E205001: Argument podający obiekt docelowy jest wymagany
  77. pobi@pobi:~/Pulpit/atalog1/trunk$ svn propedit svn:ignore hello
  78. Ustawiona nowa wartość atrybutu 'svn:ignore' dla 'hello'
  79. pobi@pobi:~/Pulpit/atalog1/trunk$ svn status hello
  80.  M      hello
  81. ?       hello/a.out
  82. pobi@pobi:~/Pulpit/atalog1/trunk$ svn help status | more
  83. status (stat, st): Print the status of working copy files and directories.
  84. usage: status [PATH...]
  85.  
  86.   With no args, print only locally modified items (no network access).
  87.   With -q, print only summary information about locally modified items.
  88.   With -u, add working revision and server out-of-date information.
  89.   With -v, print full revision information on every item.
  90.  
  91.   The first seven columns in the output are each one character wide:
  92.     First column: Says if item was added, deleted, or otherwise changed
  93.       ' ' no modifications
  94.       'A' Added
  95.       'C' Conflicted
  96.       'D' Deleted
  97.       'I' Ignored
  98.       'M' Modified
  99.       'R' Replaced
  100.       'X' an unversioned directory created by an externals definition
  101.       '?' item is not under version control
  102.       '!' item is missing (removed by non-svn command) or incomplete
  103.       '~' versioned item obstructed by some item of a different kind
  104.     Second column: Modifications of a file's or directory's properties
  105.       ' ' no modifications
  106.       'C' Conflicted
  107.       'M' Modified
  108.     Third column: Whether the working copy is locked for writing by
  109. pobi@pobi:~/Pulpit/atalog1/trunk$ svn commit
  110.  
  111. Nie podano opisu zmian.
  112. Przerwij (a), kontynuuj (c), edytuj (e):
  113. a
  114. pobi@pobi:~/Pulpit/atalog1/trunk$ svn ci -m "Dodany program Halko"
  115. Wysyłanie       hello
  116. Committing transaction...
  117. Zatwierdzona wersja 4319.
  118. pobi@pobi:~/Pulpit/atalog1/trunk$ svn commit
  119. pobi@pobi:~/Pulpit/atalog1/trunk$ svn up
  120. Updating '.':
  121. W wersji 4319.
  122. pobi@pobi:~/Pulpit/atalog1/trunk$ cd hello
  123. pobi@pobi:~/Pulpit/atalog1/trunk/hello$ nano hello.cpp
  124. pobi@pobi:~/Pulpit/atalog1/trunk/hello$ g++ hello.cpp
  125. pobi@pobi:~/Pulpit/atalog1/trunk/hello$ ./a.out
  126. Halko!
  127. pobi@pobi:~/Pulpit/atalog1/trunk/hello$ svn commit
  128.  
  129. Nie podano opisu zmian.
  130. Przerwij (a), kontynuuj (c), edytuj (e):
  131. c
  132. Wysyłanie       hello.cpp
  133. Przesyłanie treści pliku.done
  134. Committing transaction...
  135. Zatwierdzona wersja 4320.
  136. pobi@pobi:~/Pulpit/atalog1/trunk/hello$ svn up
  137. Updating '.':
  138. W wersji 4320.
  139. pobi@pobi:~/Pulpit/atalog1/trunk/hello$ cd ..
  140. pobi@pobi:~/Pulpit/atalog1/trunk$ cd ..
  141. pobi@pobi:~/Pulpit/atalog1$ svn up
  142. Updating '.':
  143. W wersji 4320.
  144. pobi@pobi:~/Pulpit/atalog1$ svn commit
  145. Wysyłanie       trunk/hello/hello.cpp
  146. Przesyłanie treści pliku.done
  147. Committing transaction...
  148. Zatwierdzona wersja 4321.
  149. pobi@pobi:~/Pulpit/atalog1$ svn copy https://serce.ics.p.lodz.pl/svn/test/atalog/trunk/hello https://serce.ics.p.lodz.pl/svn/test/atalog/tags/hello-1.0 -m "Wersja 1.0 programu Cogito ergo sum"
  150. Committing transaction...
  151. Zatwierdzona wersja 4322.
  152. pobi@pobi:~/Pulpit/atalog1$ svn up
  153. Updating '.':
  154. A    tags/hello-1.0
  155. A    tags/hello-1.0/hello.cpp
  156. Uaktualniono do wersji 4322.
  157. pobi@pobi:~/Pulpit/atalog1$ svn copy https://serce.ics.p.lodz.pl/svn/test/proba/trunk/hello https://serce.ics.p.lodz.pl/svn/test/proba/branches/hello-dev -m "Wersja rozwojowa programu Cogito ergo sum"
  158. svn: E160020: Path '/proba/branches/hello-dev/hello' already exists
  159. pobi@pobi:~/Pulpit/atalog1$ svn copy https://serce.ics.p.lodz.pl/svn/test/proba/trunk/hello https://serce.ics.p.lodz.pl/svn/test/proba/branches/hello-dev -m "Wersja rozwojowa programu Cogito ergo sum"
  160. svn: E160020: Path '/proba/branches/hello-dev/hello' already exists
  161. pobi@pobi:~/Pulpit/atalog1$ svn copy https://serce.ics.p.lodz.pl/svn/test/proba/trunk/hello https://serce.ics.p.lodz.pl/svn/test/proba/branches/hello-dev -m "Wersja rozwojowa programu Cogito ergo sum"
  162. svn: E160020: Path '/proba/branches/hello-dev/hello' already exists
  163. pobi@pobi:~/Pulpit/atalog1$ svn copy https://serce.ics.p.lodz.pl/svn/test/atalog/trunk/hello https://serce.ics.p.lodz.pl/svn/test/atalog/branches/hello-dev -m "Wersja rozwojowa programu Cogito ergo sum"
  164. Committing transaction...
  165. Zatwierdzona wersja 4323.
  166. pobi@pobi:~/Pulpit/atalog1$ svn up
  167. Updating '.':
  168. A    branches/hello-dev
  169. A    branches/hello-dev/hello.cpp
  170. Uaktualniono do wersji 4323.
  171.