[BACK]Return to edit.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / cvs

Diff for /src/usr.bin/cvs/edit.c between version 1.47 and 1.48

version 1.47, 2008/06/14 03:19:15 version 1.48, 2008/06/23 20:51:08
Line 44 
Line 44 
   
 struct cvs_cmd cvs_cmd_edit = {  struct cvs_cmd cvs_cmd_edit = {
         CVS_OP_EDIT, CVS_USE_WDIR, "edit",          CVS_OP_EDIT, CVS_USE_WDIR, "edit",
         { },          { { 0 }, { 0 } },
         "Get ready to edit a watched file",          "Get ready to edit a watched file",
         "[-lR] [-a action] [file ...]",          "[-lR] [-a action] [file ...]",
         "a:lR",          "a:lR",
Line 54 
Line 54 
   
 struct cvs_cmd cvs_cmd_editors = {  struct cvs_cmd cvs_cmd_editors = {
         CVS_OP_EDITORS, CVS_USE_WDIR, "editors",          CVS_OP_EDITORS, CVS_USE_WDIR, "editors",
         { },          { { 0 }, { 0 } },
         "See who is editing a watched file",          "See who is editing a watched file",
         "[-lR] [file ...]",          "[-lR] [file ...]",
         "lR",          "lR",
Line 64 
Line 64 
   
 struct cvs_cmd cvs_cmd_unedit = {  struct cvs_cmd cvs_cmd_unedit = {
         CVS_OP_UNEDIT, CVS_USE_WDIR, "unedit",          CVS_OP_UNEDIT, CVS_USE_WDIR, "unedit",
         { },          { { 0 }, { 0 } },
         "Undo an edit command",          "Undo an edit command",
         "[-lR] [file ...]",          "[-lR] [file ...]",
         "lR",          "lR",
Line 402 
Line 402 
                             cf->file_ent->ce_tag);                              cf->file_ent->ce_tag);
   
                 (void)xasprintf(&entry, "/%s/%s/%s/%s/%s",                  (void)xasprintf(&entry, "/%s/%s/%s/%s/%s",
                     cf->file_name, rbuf, timebuf, cf->file_ent->ce_opts ? : "",                      cf->file_name, rbuf, timebuf, cf->file_ent->ce_opts ?
                     sticky);                      cf->file_ent->ce_opts : "", sticky);
   
                 cvs_ent_add(entlist, entry);                  cvs_ent_add(entlist, entry);
   

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48