Warning: Can't synchronize with the repository (Unsupported version control system "mtn": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.

Ticket #7 (closed task: fixed)

Opened 5 years ago

Last modified 21 months ago

Trac ticket #4972 needs a change in the mtn plugin

Reported by: anonymous Owned by: 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

Change History

follow-up: ↓ 3   Changed 5 years ago by marcel@…

hmm, preview wipes my email-asdress?

in reply to: ↑ description   Changed 5 years ago by moschny

  • status changed from new to assigned

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   Changed 5 years ago by moschny

Replying to marcel@hsdev.com:

hmm, preview wipes my email-asdress?

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

  Changed 5 years ago by moschny

  • status changed from assigned to closed
  • resolution set to fixed

Add/Change #7 (Trac ticket #4972 needs a change in the mtn plugin)

Author


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


Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.