#100 tkcvs -log/blame doesn't work when not in CVS directory

closed-fixed
nobody
None
5
2011-09-10
2009-10-19
Maxim Yanchenko
No

if you run tkcvs -log/-blame, it tries to get CVS root from current directory, not from the directory where the file resides (so you'll receive an error "File doesn't seem to be in CVS, SVN, or RCS"). TkDiff and plain cvs client have no problem in the same situation.

The patch fixes this (and another typo that lives nearby).

Discussion

  • DorothyR
    DorothyR
    2009-11-28

    I fixed it a different way :-) I just have Tk cd to the file's directory. That way it'll work for Subversion too. It's too complicated to get SVN to work the other way.

     
  • DorothyR
    DorothyR
    2009-11-28

    • status: open --> pending-fixed
     
  • Whatever works :)
    Btw, there are two more fixes for questionable code in line 412 and 431:
    \"$lcfile"\ I believe it should be \"$lcfile\"

     
    • status: pending-fixed --> open-fixed
     
  • DorothyR
    DorothyR
    2011-09-10

    • status: open-fixed --> closed-fixed