Modify

Opened 12 years ago

Closed 12 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.

Attachments (0)

Change History (4)

comment:1 Changed 12 years ago by marcel@…

hmm, preview wipes my email-asdress?

comment:2 in reply to:  description Changed 12 years ago by Thomas Moschny

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.

comment:3 in reply to:  1 Changed 12 years ago by Thomas Moschny

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 Changed 12 years ago by Thomas Moschny

Resolution: fixed
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Thomas Moschny.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.