[svk-commit] r2695 - trunk/t/bm

nobody at bestpractical.com nobody at bestpractical.com
Tue Feb 12 20:55:37 EST 2008


Author: clsung
Date: Tue Feb 12 20:55:20 2008
New Revision: 2695

Modified:
   trunk/t/bm/move.t

Log:
- add test that 
  - < clkao> cls_bsd: svk br --move A B dir/ seems to move only B

Modified: trunk/t/bm/move.t
==============================================================================
--- trunk/t/bm/move.t	(original)
+++ trunk/t/bm/move.t	Tue Feb 12 20:55:20 2008
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w
 use strict;
-use Test::More tests => 16;
+use Test::More tests => 18;
 use SVK::Test;
 use File::Path;
 
@@ -106,3 +106,15 @@
 is_output ($svk, 'branch', ['--list'],
     ['feature/bar','feature/mar','feature/remotebar','feature/remotefoo'],
     'Move localbar to remotefoo, cross depot move w/o switch to local');
+
+$svk->mkdir('//mirror/MyProject/branches/hasbugs', -m => '- bugs dir');
+is_output ($svk, 'branch', ['--move', 'feature/bar', 'feature/mar', 'hasbugs/'],
+    ["Merging back to mirror source $uri.",
+     "Merge back committed as revision 14.",
+     "Syncing $uri",
+     "Retrieving log information from 14 to 14",
+     "Committed revision 18 from revision 14."]);
+
+is_output ($svk, 'branch', ['--list'],
+    ['feature/remotebar','feature/remotefoo', 'hasbugs/bar','hasbugs/mar'],
+    'Move localbar to remotefoo, cross depot move w/o switch to local');


More information about the svk-commit mailing list