Opened 17 years ago

Closed 17 years ago

Last modified 3 years ago

#7 closed task (fixed)

Trac ticket #4972 needs a change in the mtn plugin

Reported by: anonymous Owned by: Thomas Moschny
Priority: minor Component: tracmtn
Version: 0.0.4 Keywords: <Key>
Cc: <Default>

Description

I've just done this in backend.py

 @@ -382,6 +382,12 @@ class MonotoneRepository(Repository):
          """
          return dates(self.mtn.certs(rev).get('date', []))
   
 +    def close(self): 
 +       """
 +       Do whatever is needed to close a repository. 
 +       Nothing yet, we just dont raise the exception like our parent does.
 +       """
 +

Other than that, i'm clueless what would need to be done in that method.

Change History (4)

comment:1 by marcel@…, 17 years ago

hmm, preview wipes my email-asdress?

in reply to:  description comment:2 by Thomas Moschny, 17 years ago

Status: newassigned

Replying to anonymous:

I've just done this in backend.py [...]

I've done a similar change here, but not yet committed. Thanks for the patch anyway!

See also http://trac.edgewall.org/ticket/5014.

Other than that, i'm clueless what would need to be done in that method.

Not sure either. Currently we are communicating with the mtn process for everything we don't know something about, and assume that the things we know about don't change. This is of course a wrong e.g. in case of certs. Also, we cache the set of root revisions, as it is rather expensive to get them from mtn.

in reply to:  1 comment:3 by Thomas Moschny, 17 years ago

Replying to marcel@hsdev.com:

hmm, preview wipes my email-asdress?

Dunno, I am using a not-so-recent 0.11dev version here...

comment:4 by Thomas Moschny, 17 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.