TKcvs Status Column

Help
2004-02-19
2004-02-19
  • Dennis Quelch

    Dennis Quelch - 2004-02-19

    Hi,
    Wondering if someone could help me solve a problem with TkCVS.  I've searched around the net at different TkCVS forums and have been unable to locate an answer.

    Basically I've set up my CVS repository, imported some files, checked them out.  Works fine.  All cvs commands work on these files fine.  When I go to run TKcvs, most of the commands seem to work fine as well.  I can checkout, update, commit, diff, log, status, etc...

    However, for each file in the main browser window, an icon next to each file has a '?' in it.  Also, under the status column, each file has a '?' assigned to it.  If I go and modify a file and refresh the screen, nothing changes.  I can use the update and status buttons fine
    and it reports differences with the respository, but they never show up in the File or Status columns on the main window.  According to the TKcvs Man page, a '?'  in those columns means that the file is not in the repository.  But obviously it is, because it allowed me to check it out in the first place.  Functionally, TKCVS is working great, it's just the main windows never represent the true state of things.

    Any ideas?   Thanks in advance.

    Dennis

     
    • DorothyR

      DorothyR - 2004-02-19

      I can't think of what would cause this .  Could you try it with the debugger on?  In the Options menu, check "Tracing On/Off."  Then in the Options -> Trace Level sub-menu, check  all the boxes.  Then press the glasses-and-arrow button to re-read the current directory.  If you can paste what's in the trace window to this forum  - or mail it to dorothyr@users.sourceforge.net - I'll look and see if it tells my anything.

      dorothy

       
    • Dennis Quelch

      Dennis Quelch - 2004-02-19

      Thanks Dorothy,

      Here is a trace of what I have.  I did a simple project test case with two files.  testfile1.c and testfile2.c.  I'm running under Linux RedHat 7.0 with cvs 1.11.13 and tkcvs 7.03.

      I did notice in the trace that it seemed to have a problem with the -l option in CVS.  Not sure if that is related.

      Dennis
      ---------------------------
      [setup_dir] ENTER
      [setup_dir] CD /bulk02/TMP/NewTag
      [cvsroot_check] ENTER
      [cvsroot_check]  cvsroot: /usr/local/cvsroot
      [cvsroot_check]  remote=0
      [cvsroot_check] LEAVE
      [setup_dir]  incvs = 1
      [DirCanvas:create] ENTER (.workdir.main -relief flat -bd 0 -highlightthickness 0 -width 100 -height 350)
      [DirCanvas:column] ENTER (.workdir.main filecol headtext)
      [DirCanvas:column] showstatcol true showdatecol true econtrol true
      [DirCanvas:column] .workdir.main.filecol.head.sbut
      [DirCanvas:map_column] ENTER (.workdir.main filecol)
      [DirCanvas:map_column] .workdir.main.yscroll
      [DirCanvas:column] ENTER (.workdir.main statcol headtext)
      [DirCanvas:column] showstatcol true showdatecol true econtrol true
      [DirCanvas:column] .workdir.main.statcol.head.sbut
      [DirCanvas:map_column] ENTER (.workdir.main statcol)
      [DirCanvas:map_column] .workdir.main.yscroll .workdir.main.filecol
      [DirCanvas:column] ENTER (.workdir.main datecol headtext)
      [DirCanvas:column] showstatcol true showdatecol true econtrol true
      [DirCanvas:column] .workdir.main.datecol.head.sbut
      [DirCanvas:map_column] ENTER (.workdir.main datecol)
      [DirCanvas:map_column] .workdir.main.yscroll .workdir.main.filecol .workdir.main.statcol
      [DirCanvas:column] ENTER (.workdir.main wrevcol headtext)
      [DirCanvas:column] showstatcol true showdatecol true econtrol true
      [DirCanvas:column] .workdir.main.wrevcol.head.sbut
      [DirCanvas:map_column] ENTER (.workdir.main wrevcol)
      [DirCanvas:map_column] .workdir.main.yscroll .workdir.main.filecol .workdir.main.statcol .workdir.main.datecol
      [DirCanvas:column] ENTER (.workdir.main editcol headtext)
      [DirCanvas:column] showstatcol true showdatecol true econtrol true
      [DirCanvas:column] .workdir.main.editcol.head.sbut
      [DirCanvas:map_column] ENTER (.workdir.main editcol)
      [DirCanvas:map_column] .workdir.main.yscroll .workdir.main.filecol .workdir.main.statcol .workdir.main.datecol .workdir.main.wrevcol
      [DirCanvas:create] sort_pref:   filecol -decreasing
      [DirCanvas:create] 1  filecol
      [DirCanvas:create] sort column filecol -decreasing
      [DirCanvas:create] arr(col) = arr(filecol);  arr(filecol) = .workdir.main.filecol.head.sbut
      [DirCanvas:create] LEAVE
      [getFiles] ENTER
      [getFiles] return (. .. CVS testfile1.c testfile2.c)
      [directory_list] ENTER (. .. CVS testfile1.c testfile2.c)
      [directory_list] processing files in the local directory
      [directory_list] SKIPPING .
      [read_cvs_dir] ENTER (/bulk02/TMP/NewTag/CVS)
      [read_cvs_dir]   MODULE NEWTAG
      [read_cvs_dir]   CVSROOT /usr/local/cvsroot
      [read_cvs_dir] LEAVE
      [directory_list] processing files that CVS knows about
      [directory_list] cvs -n -q -l status -l
      [directory_list] cvs -n -q -l editors -l
      [directory_list] {cvs: invalid option -- l}
      [directory_list] {Usage: cvs [cvs-options] command [command-options-and-arguments]}
      [directory_list] {where cvs-options are -q, -n, etc.}
      [directory_list] {(specify --help-options for a list of options)}
      [directory_list] {where command is add, admin, etc.}
      [directory_list] {(specify --help-commands for a list of commands}
      [directory_list] {or --help-synonyms for a list of command synonyms)}
      [directory_list] {where command-options-and-arguments depend on the specific command}
      [directory_list] {(specify -H followed by a command name for command-specific help)}
      [directory_list] {Specify --help to receive this message}
      [directory_list]
      [directory_list] {The Concurrent Versions System (CVS) is a tool for version control.}
      [directory_list] {For CVS updates and additional information, see}
      [directory_list] {the CVS home page at http://www.cvshome.org/ or}
      [directory_list] {Pascal Molli's CVS site at http://www.loria.fr/~molli/cvs-index.html\}
      [directory_list] Sending all files to the canvas
      [DirCanvas:newitem] ENTER (.workdir.main testfile1.c)
      [DirCanvas:newitem] Newitem testfile1.c status ?
      [DirCanvas:newitem] ENTER (.workdir.main ..)
      [DirCanvas:newitem] Newitem .. status <directory>
      [DirCanvas:newitem] ENTER (.workdir.main testfile2.c)
      [DirCanvas:newitem] Newitem testfile2.c status ?
      [directory_list] LEAVE
      [setup_dir] LEAVE
      [DirCanvas:build] ENTER (.workdir.main)
      [DirCanvas:build] Y spacing: 20 set from font
      [DirCanvas:build] sortcol=filecol  sortsense=-decreasing
      [DirCanvas:build] width of .workdir.main.filecol.list 11 chars (52)
      [DirCanvas:build] filecol width 84
      [DirCanvas:build] statcol width 69
      [DirCanvas:build] width of .workdir.main.wrevcol 0 chars (0)
      [DirCanvas:build] width of .workdir.main.editcol 0 chars (0)
      [DirCanvas:build] .workdir.main:testfile1.c:selected .workdir.main:testfile2.c:selected .workdir.main:..:selected
      [DirCanvas:build] LEAVE

      ---------------------

       
      • DorothyR

        DorothyR - 2004-02-19

        Oh.  This is your problem.: cvs 1.11.13 and tkcvs 7.03

        The CVS folks removed the global -l command line option, which tkcvs 7.0x uses all over the place.  You need to either  update to tkcvs 7.1.3 or greater (7.2 is better of course) or downgrade your CVS to before 1.11.8.

         
    • Dennis Quelch

      Dennis Quelch - 2004-02-19

      You're the best.  Thanks!!

      Dennis

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks