Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#52 cvsgrab download directory bug with java.net

closed
nobody
None
5
2006-09-01
2006-08-31
Mike Wilson
No

While trying out cvsgrab I came across a bug that is
sort of an
annoyance (and please excuse me if I am at fault
here). cvsgrab
uses a different target directory the first and
subsequent times
it is run.

I setup cvsgrab and create a new directory where I
want the
files downloaded:

> md files
> cd files
> cvsgrab -url
https://swingfx.dev.java.net/source/browse/swingfx/

The below directory structure will be created
under "files". Note
that cvsgrab has created an extra "swingfx" directory
level with
an accompanying CVS directory.

files\ CVS\ Entries (contains one entry; swingfx)
swingfx\ CVS
docs
...
swingfx_src.jar

Then I run cvsgrab one more time. This time cvsgrab
does a full
download again (not just update) and puts the files
in the root of
my folder, instead of under "files", thus creating
another copy of
all files:

files\ CVS\ * Entries (contains all "root" entries but not
swingfx)
swingfx\ CVS
docs
...
swingfx_src.jar
+ docs
+ ...
+ swingfx_src.jar

Best regards
Mike Wilson

Discussion

  • Shinobu Kawai
    Shinobu Kawai
    2006-09-01

    • status: open --> closed
     
  • Shinobu Kawai
    Shinobu Kawai
    2006-09-01

    Logged In: YES
    user_id=1108693

    The problem is fixed in CVS. There is no release yet, so
    please use the SNAPSHOT version found here:

    http://codehaus.org/~shinobu/CVSGrab/

     
  • Mike Wilson
    Mike Wilson
    2006-09-02

    Logged In: YES
    user_id=1336873

    Thanks, seems to work fine!