[svk-commit] r2704 - trunk/lib/SVK/Command

nobody at bestpractical.com nobody at bestpractical.com
Sun Mar 9 22:12:10 EDT 2008


Author: clsung
Date: Sun Mar  9 22:12:10 2008
New Revision: 2704

Modified:
   trunk/lib/SVK/Command/Branch.pm

Log:
- 'br --from trunk' should use trunk instead of branch/trunk
- TODO
  - search branches/trunk/tags in order

Modified: trunk/lib/SVK/Command/Branch.pm
==============================================================================
--- trunk/lib/SVK/Command/Branch.pm	(original)
+++ trunk/lib/SVK/Command/Branch.pm	Sun Mar  9 22:12:10 2008
@@ -178,6 +178,7 @@
 
     my $proj = $self->load_project($target);
 
+    delete $self->{from} if $self->{from} and $self->{from} eq 'trunk';
     my $src_path = '/'.$proj->depot->depotname.'/'.
 	( $self->{from} ?
 	    $proj->branch_location .'/'. $self->{from}.'/'


More information about the svk-commit mailing list