Ticket #6 (closed enhancement: fixed)

Opened 7 years ago

Last modified 2 years ago

Another browse source problem

Reported by: aym3ric Owned by: lele
Priority: trivial Component: darcs backend
Version: Keywords:
Cc:

Description (last modified by lele) (diff)

Resyncing the repository below gives

 No node at u'doc/old/devdoc.html' in revision 1314 

Attachments

bundle Download (3.2 KB) - added by zimba.tm@… 7 years ago.
The patch for the proposed fix. Works half better but still not 100% good for me.

Change History

comment:1 Changed 7 years ago by lele

  • Owner changed from somebody to lele
  • Status changed from new to assigned
  • Description modified (diff)
  • Summary changed from another browse source problem to Another browse source problem

comment:2 Changed 7 years ago by lele

  • Status changed from assigned to closed
  • Resolution set to fixed

This should be fixed by [22].

comment:3 Changed 7 years ago by aym3ric

  • Status changed from closed to reopened
  • Resolution fixed deleted

I have updated with [22] and installed a new egg. We still have the same error.

comment:4 Changed 7 years ago by lele

Uhm, this is really strange, as it seems working right here! I was able to resync the repo, and browse the changeset 1313 [moved old docs to libpf_stuff repo] that removed the file in question, and from there going back to 276 [forthproc]. Accordingly to the darcs history, that was the last changeset that touched the content of /doc/pdp.old/devdoc.html before 1313 removed it. Unfortunately, #5 interferes and trac-darcs does not actually list devdoc.html in 276... :-\

But, again, this problem does not show up here...

comment:5 Changed 7 years ago by greg@…

I couldn't find an email to send this darcs patch to, so I'll just post it here.

hunk ./tracdarcs/repos.py 93
-                  (self.path, self.__darcs, command, args)
+                  (self.path.encode('utf-8'), self.__darcs, command, args)

Something like this change needs to happen in a few places, this is just one of them. Of course, it should use the encoding set by trac, rather than hardcoding UTF-8.

Changed 7 years ago by zimba.tm@…

The patch for the proposed fix. Works half better but still not 100% good for me.

comment:6 Changed 7 years ago by zimba.tm@…

Hi,

i have the same problem here.

my repo is located at :  http://devlab.oree.ch/darcs/nitrohq and the trac instance at :  http://devlab.oree.ch/trac/nitrohq

Resyncing repository history... Command failed: No node at u'facets' in revision 694

comment:7 Changed 7 years ago by lele

  • Component changed from component1 to darcs backend

comment:8 Changed 7 years ago by lele

Could you please try out version 0.4? It uses a completely different approach, and most probably it fixes this problem too.

comment:9 Changed 5 years ago by lele

Fixed long ago, in version 0.4.

comment:10 Changed 5 years ago by lele

  • Status changed from reopened to closed
  • Resolution set to fixed

comment:11 Changed 2 years ago by anonymous

  • milestone milestone2 deleted

Milestone milestone2 deleted

Note: See TracTickets for help on using tickets.