/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Marius Kruger
  • Date: 2007-03-31 20:49:06 UTC
  • mfrom: (2384 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2455.
  • Revision ID: amanic@gmail.com-20070331204906-iai2v10wk3l3lt12
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
    unknown
149
149
        Not versioned and not matching an ignore pattern.
150
150
 
151
 
    To see ignored files use 'bzr ignored'.  For details in the
 
151
    To see ignored files use 'bzr ignored'.  For details on the
152
152
    changes to file texts, use 'bzr diff'.
153
153
    
154
154
    --short gives a status flags for each item, similar to the SVN's status
183
183
    # TODO: --no-recurse, --recurse options
184
184
    
185
185
    takes_args = ['file*']
186
 
    takes_options = ['show-ids', 'revision', 'short',
 
186
    takes_options = ['show-ids', 'revision',
 
187
                     Option('short', help='Give short SVN-style status lines'),
187
188
                     Option('versioned', help='Only show versioned files')]
188
189
    aliases = ['st', 'stat']
189
190
 
917
918
    out of date [so you cannot commit] but it may be useful (i.e. to examine old
918
919
    code.)
919
920
 
920
 
    --basis is to speed up checking out from remote branches.  When specified, it
921
 
    uses the inventory and file contents from the basis branch in preference to the
922
 
    branch being checked out.
923
 
 
924
921
    See "help checkouts" for more information on checkouts.
925
922
    """
926
923
    takes_args = ['branch_location?', 'to_location?']
1246
1243
 
1247
1244
    If there is a repository in a parent directory of the location, then 
1248
1245
    the history of the branch will be stored in the repository.  Otherwise
1249
 
    init creates a standalone branch which carries its own history in 
1250
 
    .bzr.
 
1246
    init creates a standalone branch which carries its own history
 
1247
    in the .bzr directory.
1251
1248
 
1252
1249
    If there is already a branch at the location but it has no working tree,
1253
1250
    the tree can be populated with 'bzr checkout'.
1950
1947
 
1951
1948
 
1952
1949
class cmd_export(Command):
1953
 
    """Export past revision to destination directory.
 
1950
    """Export current or past revision to a destination directory or archive.
1954
1951
 
1955
1952
    If no revision is specified this exports the last committed revision.
1956
1953
 
1961
1958
    Root may be the top directory for tar, tgz and tbz2 formats. If none
1962
1959
    is given, the top directory will be the root name of the file.
1963
1960
 
1964
 
    If branch is omitted then the branch containing the CWD will be used.
 
1961
    If branch is omitted then the branch containing the current working
 
1962
    directory will be used.
1965
1963
 
1966
1964
    Note: export of tree with non-ascii filenames to zip is not supported.
1967
1965
 
1999
1997
 
2000
1998
 
2001
1999
class cmd_cat(Command):
2002
 
    """Write a file's text from a previous revision."""
 
2000
    """Write the contents of a file as of a given revision to standard output.
 
2001
 
 
2002
    If no revision is nominated, the last revision is used.
 
2003
 
 
2004
    Note: Take care to redirect standard output when using this command on a
 
2005
    binary file. 
 
2006
    """
2003
2007
 
2004
2008
    takes_options = ['revision', 'name-from-revision']
2005
2009
    takes_args = ['filename']
2272
2276
 
2273
2277
    @display_command
2274
2278
    def printme(self, branch):
2275
 
        print branch.nick 
 
2279
        print branch.nick
2276
2280
 
2277
2281
 
2278
2282
class cmd_selftest(Command):
2501
2505
    
2502
2506
    merge refuses to run if there are any uncommitted changes, unless
2503
2507
    --force is given.
2504
 
 
2505
 
    The following merge types are available:
2506
2508
    """
2507
2509
    takes_args = ['branch?']
2508
2510
    takes_options = ['revision', 'force', 'merge-type', 'reprocess', 'remember',
2667
2669
    $ bzr remerge --merge-type weave --reprocess foobar
2668
2670
        Re-do the merge of "foobar", using the weave merge algorithm, with
2669
2671
        additional processing to reduce the size of conflict regions.
2670
 
    
2671
 
    The following merge types are available:"""
 
2672
    """
2672
2673
    takes_args = ['file*']
2673
2674
    takes_options = ['merge-type', 'reprocess',
2674
2675
                     Option('show-base', help="Show base revision text in "