Advertisement
Guest User

Fixed RenameMap test

a guest
Jul 29th, 2012
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. P:\my-repo>test_move_auto_fix.bat
  2.  
  3. P:\my-repo>rmdir /S /Q testrepo
  4. The system cannot find the file specified.
  5.  
  6. P:\my-repo>cmd /c p:\bzr init testrepo
  7. Created a repository tree (format: 2a)
  8. Using shared repository: P:/my-repo/
  9.  
  10. P:\my-repo>cd testrepo
  11.  
  12. P:\my-repo\testrepo>mkdir a
  13.  
  14. P:\my-repo\testrepo>echo 1  1>a\file1.java
  15.  
  16. P:\my-repo\testrepo>echo 2  1>a\file2.java
  17.  
  18. P:\my-repo\testrepo>echo 3  1>a\file3.java
  19.  
  20. P:\my-repo\testrepo>cmd /c p:\bzr add
  21. adding a
  22. adding a/file1.java
  23. adding a/file2.java
  24. adding a/file3.java
  25.  
  26. P:\my-repo\testrepo>cmd /c p:\bzr commit -m "Initial commit"
  27. Committing to: P:/my-repo/testrepo/
  28. added a
  29. added a/file1.java
  30. added a/file2.java
  31. added a/file3.java
  32. Committed revision 1.
  33.  
  34. P:\my-repo\testrepo>mkdir c
  35.  
  36. P:\my-repo\testrepo>move a\file1.java c\file1new.java
  37.  
  38. P:\my-repo\testrepo>move a\file2.java a\file2new.java
  39.  
  40. P:\my-repo\testrepo>move a\file3.java a\file3new.java
  41.  
  42. P:\my-repo\testrepo>echo "-------- moving ---------------"
  43. "-------- moving ---------------"
  44.  
  45. P:\my-repo\testrepo>cmd /c p:\bzr mv --auto
  46. a/file1.java => c/file1new.java
  47. a/file2.java => a/file2new.java
  48. a/file3.java => a/file3new.java
  49.  
  50. P:\my-repo\testrepo>bzr status
  51. added:
  52.   c/
  53. renamed:
  54.   a/file1.java => c/file1new.java
  55.   a/file2.java => a/file2new.java
  56.   a/file3.java => a/file3new.java
  57.  
  58. P:\my-repo\testrepo>pause
  59. Press any key to continue . . .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement