Erwin Waterlander <water...@xs4all.nl> writes:

>>    wcd -a
>>    wcd -a
>>    cat ~/.treedata.wcd
>
> This is not a problem. Duplicate entries in the data file don't result
> in duplicate matches, because duplicate matches are filtered out.

I understand that this is not a problem in the program, but it is
presents a problem for the user side:

    1. Put directory $WCDHOME into version control
       (take your pick: RCS, Cvs, Svn, Hg, Bzr, Git ...)

       Any chnage since last save to version control
       will be reported "modified sources".

    2. Add same directory again

       wcd -a

    => Not the .treedata.wcd has now changed content
    => Version control reports changed files

       committing to version scontrol would be wrong thing to do.

The multiple entries effective prevent using version control effectively
to save the states.

If the program checked the entry before adding it to file, the
WCDHOME would stay pristine.

Jari



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to