Subversion Repositories DevTools

Rev

Rev 341 | Rev 375 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 341 Rev 361
Line 353... Line 353...
353
    if ( $opt_packagebase )
353
    if ( $opt_packagebase )
354
    {
354
    {
355
        #
355
        #
356
        #   User has given us the package base
356
        #   User has given us the package base
357
        #
357
        #
358
        $session = NewSessionByUrl ( $opt_packagebase, $session );
358
        $session = NewSessionByUrl ( $opt_packagebase, 0, $session );
359
        $session->SvnValidatePackageRoot();
359
        $session->SvnValidatePackageRoot();
360
    }
360
    }
361
    elsif ( $label && $label =~ m~(.+)(/(tags|branches|trunk)(/|@)(.+))~ )
361
    elsif ( $label && $label =~ m~(.+)(/(tags|branches|trunk)(/|@)(.+))~ )
362
    {
362
    {
363
        #
363
        #
364
        #   Attempt to extract it from the label
364
        #   Attempt to extract it from the label
365
        #   Remove it from the label
365
        #   Remove it from the label
366
        #
366
        #
367
        $src_label = $2;
367
        $src_label = $2;
368
        $label = $5;
368
        $label = $5;
369
        $session = NewSessionByUrl ( $1, $session );
369
        $session = NewSessionByUrl ( $1, 0, $session );
370
        $session->SvnValidatePackageRoot();
370
        $session->SvnValidatePackageRoot();
371
        $src_label = $session->Full . $src_label;
371
        $src_label = $session->Full . $src_label;
372
    }
372
    }
373
    elsif ( $ws_root )
373
    elsif ( $ws_root )
374
    {
374
    {
Line 394... Line 394...
394
#   Documentation
394
#   Documentation
395
#
395
#
396
 
396
 
397
=pod
397
=pod
398
 
398
 
-
 
399
=for htmltoc    GENERAL::Subversion::
-
 
400
 
399
=head1 NAME
401
=head1 NAME
400
 
402
 
401
jats_svnlabel - Subversion label operations
403
jats_svnlabel - Subversion label operations
402
 
404
 
403
=head1 SYNOPSIS
405
=head1 SYNOPSIS
404
 
406
 
405
jats label [options] C<label>
407
jats svnlabel [options] C<label>
406
 
408
 
407
 Options:
409
 Options:
408
    -help                  - brief help message
410
    -help                  - brief help message
409
    -help -help            - Detailed help message
411
    -help -help            - Detailed help message
410
    -man                   - Full documentation
412
    -man                   - Full documentation
Line 516... Line 518...
516
This program provides a number of useful Subversion labeling operations. These
518
This program provides a number of useful Subversion labeling operations. These
517
are:
519
are:
518
 
520
 
519
=over 8
521
=over 8
520
 
522
 
-
 
523
=item   *
-
 
524
 
521
=item   check - check existance of a label
525
check - check existance of a label
-
 
526
 
-
 
527
=item   *
-
 
528
 
-
 
529
available - check non-existance of a label
-
 
530
 
-
 
531
=item   *
-
 
532
 
-
 
533
list - list the label on a package
-
 
534
 
-
 
535
=item   *
-
 
536
 
-
 
537
rename - rename a label
522
 
538
 
523
=item   available - check non-existance of a label
539
=item   *
524
 
540
 
525
=item   list - list the label on a package
541
label - label a workspace
526
 
542
 
527
=item   rename - rename a label
543
=item   *
528
 
544
 
529
=item   label - label a workspace
545
delete - delete a label
530
 
546
 
531
=item   delete - delete a label
547
=item   *
532
 
548
 
533
=item   clone - duplicate a label
549
clone - duplicate a label
534
 
550
 
535
=back
551
=back
536
 
552
 
537
The various operations may be mixed in the one command. The order of the
553
The various operations may be mixed in the one command. The order of the
538
operations is: check, available, list, rename, label, delete and clone
554
operations is: check, available, list, rename, label, delete and clone