Changeset 315 in tailor for README


Ignore:
Timestamp:
05/23/05 16:15:46 (8 years ago)
Author:
lele@…
Hash name:
20050523141546-97f81-316eb82b8236d5e403581507651e4f4863e7b767
Message:

Reworked the interactive session, separating configuration from state

File:
1 edited

Legend:

Unmodified
Added
Removed
  • README

    r310 r315  
    4646.. _baazar-ng: http://www.bazaar-ng.org/ 
    4747 
     48 
    4849Installation 
    4950============ 
     
    204205 
    205206 
     207Interactive sessions 
     208-------------------- 
     209 
     210Tailor offers an alternative way of driving its activity by using an 
     211interactive session, bringing the configuration more similar to a 
     212script. 
     213 
     214Although this is still a work-in-progress, it's quickly becoming my 
     215preferred usage, as its functionality cover the underlying tailor 
     216features. 
     217 
     218For example, this is the script I'm using to test it:: 
     219 
     220    cd /tmp/p/wc 
     221    state_file tailor.state 
     222    source_kind darcs 
     223    target_kind svn 
     224    source_repository /home/lele/WiP/cvsync 
     225    sub_directory cvsync 
     226 
     227that, as you can see, specifies the context needed by tailor to do its 
     228work. With the following command line:: 
     229 
     230    $ tailor.py --verbose --interactive tailor.cmds 
     231    Welcome to the Tailor interactive session: you can issue several commands 
     232    with the usual `readline` facilities. With "help" you'll get a list of 
     233    available commands. 
     234 
     235    Current directory: /tmp/p/wc 
     236    Current state file: /tmp/p/wc/tailor.state 
     237    Current source kind: darcs 
     238    Current target kind: svn 
     239    Current source repository: /home/lele/WiP/cvsync 
     240    Sub directory: cvsync 
     241    tailor $ help 
     242     
     243    Documented commands (type help <topic>): 
     244    ======================================== 
     245    EOF                get_changes   source_module      target_module 
     246    bootstrap          logfile       source_repository  target_repository 
     247    cd                 save          state_file 
     248    current_directory  show_changes  sub_directory 
     249    exit               source_kind   target_kind 
     250 
     251    Undocumented commands: 
     252    ====================== 
     253    help 
     254 
     255    tailor $ help bootstrap 
     256     
     257        Checkout the initial upstream revision, by default HEAD (or 
     258        specified by argument), then import the subtree into the 
     259        target repository. 
     260 
     261 
    206262Further help 
    207263============ 
Note: See TracChangeset for help on using the changeset viewer.