Hi Alex,

I have a small proposal to improve WinCVS. I realize WinCVS can keep
oen ratehr busy, so I will not bother you too much, in the sense that I
will code it myself. However, I will ask of you if you can read through
this proposal to let me know if it is acceptable to you.

Problem
-------

One can not select now in WinCVS files from different directories. This
is a problem because I want to be able to check in (at one time) all files
relevant to one logical change. Now, I know that CVS loses track of that,
but using the commitinfo and accuminfo triggers one can recuperate this
information (check out egcs, Wine, etc.).

Solution
--------

WinCVS should have a mode whereas on the right-hand panel it will display
a _recursive_ descent list of files in the directory selected on the left
(rather than the immediate content of that directory). Moreover (and this
is the interesting part), one should be able to ask WinCVS to display only
the modified files.

So, one can select to display a recursive list of all modified files, and
than select only the relevant ones out of that list to commit

Implementation
--------------

The implementation of this has two parts: a platform independent part and
an MFC part. One problem is that I never programmed MFC; moreover, at home
I run only Linux so I can not even compile! If you can give me a hand on
this part, great! If not, I'll work something out.

Interface: we should add two more buttons on the tool bar (similar to the
one that hides/shows the ignored flags). When the recursive mode is
selected, the file name on the right should include the path relative to
the directory selected on the left.

It should be relatively easy to get a recursive list of files and to
ignore the nonmodified ones.

The other change I was thinking will reside in the MultiFiles class. Right
now, we can add files to a directory. The change I propose is when we add
a file, we should parse it to see if it contains any relative paths. If
so, we append the relative path to the current dir (and create a new dir
if necessary).

If this seems reasonable, I will start coding and sending in some patches.

Thanks,
Dimi.

Reply via email to