Subversion Repositories DevTools

Rev

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

Rev 2071 Rev 2354
Line 1427... Line 1427...
1427
 
1427
 
1428
 Command Options
1428
 Command Options
1429
    -help[=n]               - Provide command specific help
1429
    -help[=n]               - Provide command specific help
1430
    -new                    - Package must not exist
1430
    -new                    - Package must not exist
1431
    -replace                - Replace any existing versions
1431
    -replace                - Replace any existing versions
1432
    -import=nnn             - Import directory tree
1432
    -import=path            - Import directory tree
1433
    -label=nnn              - Label imported package
1433
    -label=nnn              - Label imported package
1434
    -trunk                  - Import to trunk (default)
1434
    -trunk                  - Import to trunk (default)
1435
    -tags=nnn               - Import to tags
1435
    -tags=nnn               - Import to tags
1436
    -branch=nnn             - Import to branches
1436
    -branch=nnn             - Import to branches
1437
 
1437
 
Line 1471... Line 1471...
1471
 
1471
 
1472
This option allows the program to replace any existing versions of the
1472
This option allows the program to replace any existing versions of the
1473
imported source. It will allow the deletion of any existing trunk, tags or
1473
imported source. It will allow the deletion of any existing trunk, tags or
1474
branches.
1474
branches.
1475
 
1475
 
1476
=item -import=nnn
1476
=item -import=path
1477
 
1477
 
1478
This option specifies the path of a subdirectory tree to import into the newly
1478
This option specifies the path of a subdirectory tree to import into the newly
1479
created package. In not provided, then only a package skeleton will be created.
1479
created package. In not provided, then only a package skeleton will be created.
1480
 
1480
 
-
 
1481
All files and directories below, but not including, the named path will be
-
 
1482
imported into the package.
-
 
1483
 
1481
=item -label=nnn
1484
=item -label=nnn
1482
 
1485
 
1483
This option specifies a label to place the imported source.
1486
This option specifies a label to place the imported source.
1484
 
1487
 
1485
=item -trunk
1488
=item -trunk
Line 1526... Line 1529...
1526
 
1529
 
1527
The command does not attempt to merge file versions within the repository. It
1530
The command does not attempt to merge file versions within the repository. It
1528
may result in multiple instances of a file within the repository. Use only for
1531
may result in multiple instances of a file within the repository. Use only for
1529
simple imports. Use the 'import' command for more sophisticated import requirements.
1532
simple imports. Use the 'import' command for more sophisticated import requirements.
1530
 
1533
 
-
 
1534
=head3 Examples
-
 
1535
 
-
 
1536
To create a package skeleton in the Perth MREF_Package repository for a package
-
 
1537
called 'VIXmyPackage':
-
 
1538
 
-
 
1539
    jats svn create-package AUPERASVN01/MREF_Package/VIXmyPackage
-
 
1540
 
-
 
1541
To create a package skeleton in the Perth MREF_Package repository, import code
-
 
1542
into the trunk of the package and label (tag) it:
-
 
1543
    
-
 
1544
    jats svn create-package \
-
 
1545
           AUPERASVN01/MREF_Package/VIXmyPackage \
-
 
1546
           -import=VIXmyNewPackage \
-
 
1547
           -label=VIXmyPackage.WIP
-
 
1548
 
1531
=head1 Delete a Package
1549
=head1 Delete a Package
1532
 
1550
 
1533
=head2 NAME
1551
=head2 NAME
1534
 
1552
 
1535
Delete a Package
1553
Delete a Package
Line 1677... Line 1695...
1677
 
1695
 
1678
=item   2. Switch to the named branch.
1696
=item   2. Switch to the named branch.
1679
 
1697
 
1680
The named branch must exists otherwise the command will fail.
1698
The named branch must exists otherwise the command will fail.
1681
 
1699
 
1682
There are two spcial variants of the branch name:
1700
There are two special variants of the branch name:
1683
 
1701
 
1684
=over 4
1702
=over 4
1685
 
1703
 
1686
=item trunk
1704
=item trunk
1687
 
1705
 
Line 1733... Line 1751...
1733
    -verbose[=n]           - Verbose command operation
1751
    -verbose[=n]           - Verbose command operation
1734
    -path=path             - Target workspace
1752
    -path=path             - Target workspace
1735
 
1753
 
1736
=head2 ARGUMENTS
1754
=head2 ARGUMENTS
1737
 
1755
 
1738
The command may take zero ro more arguments. If provided the arguments will be
1756
The command may take zero or more arguments. If provided the arguments will be
1739
branch names to be deleted.
1757
branch names to be deleted.
1740
 
1758
 
1741
=head2 OPTIONS
1759
=head2 OPTIONS
1742
 
1760
 
1743
=over
1761
=over