On Wednesday 16 August 2006 20:59 Gunter Ohrner wrote:
> Am Mittwoch, 16. August 2006 12:12 schrieb Ph. Marek:
> > > However, if I now try to "fsvs update", the following happens:
> > > An error occurred at 07:31:11.750: Datei oder Verzeichnis nicht
> > > gefunden (2)
> >
> > I just released a 1.0.12 (before seeing your mail); there are some
> > problems fixed, this might be among them.
> Unfortunately it didn't doesn't seem to.
So it works now ;-) ?

> > Could you please try with 1.0.12, and if it fails, send me the output
> > of fsvs up -v -d please?
>
> I hope this fragment suffices?
Sorry, I don't think so. It doesn't say what isn't found.

I committed a change to print not-found entries; if you don't want to use the 
trunk of fsvs, I have the patch attached.


But to get your actions straight:
You did "fsvs sync-repos" on machine A, then a commit on A.
Then the same on B and C, where C has the latest version.

Then you try an update on A or B, and you get this error? Or is this on C?


> (Snip)
...
> 20:56:06.686 up__parse_prop[update.c:81] got property for apps:
> svn:entry:uuid=de9c92fe-7908-0410-9c59-e1f573f8e05f
>
>
> An error occurred at 20:56:10.117: Datei oder Verzeichnis nicht gefunden
> (2)
>   in update_work [update.c:1104]: reporter->finish_report:
> up__open_directory
>   in update_work [update.c:1114]: up__open_directory
>   in main [fsvs.c:514]: action update failed
> FSVS (licensed under the GPLv2), (C) by Ph. Marek; version fsvs-1.0.12:362
> (Snap)
Playing with sync-repos I can reproduce a similar error, which could be 
related. I'll try to fix that.

Please apply the patch below, and send me the last lines of output; and please 
tell me whether the given path already exists or not.


Regards,

Phil

-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!
=== src/est_ops.c
==================================================================
--- src/est_ops.c       (revision 413)
+++ src/est_ops.c       (local)
@@ -597,6 +597,7 @@
 {
        int status;
        struct estat **sts_p;
+       char *filename;


        status=0;
@@ -606,10 +607,10 @@
                STOPIF(dir__sortbyname(dir), NULL);

        /* Strip the path, leave the filename */
-       name=ops___get_filename(name);
+       filename=ops___get_filename(name);

        /* find entry, binary search. */
-       sts_p=bsearch(name, dir->by_name, dir->entry_count,
+       sts_p=bsearch(filename, dir->by_name, dir->entry_count,
                        sizeof(dir->by_name[0]),
                        (comparison_fn_t)dir___f_sort_by_nameCS);

@@ -617,6 +618,10 @@
        *sts=sts_p && (ignored_too || (*sts_p)->entry_status != FT_IGNORE) ?
                *sts_p : NULL;

+       if (!*sts)
+               DEBUGP("Searching for %s (%s) found no entry (ignored_too=%d)",
+                               filename, name, ignored_too);
+
 ex:
        return status;
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to