Commits

Nathan Durnan  committed 260871c

Begin adding Mercurial hooks by setting up Callback functions.
see issue 7 and 8 @bitbucket

  • Participants
  • Parent commits aea2509
  • Branches development

Comments (0)

Files changed (1)

File TimestampMod.py

 List_DroppedFiles = []
 #_ end of global objects ______________________________________________________
 
+
+
+#==============================================================================
+# uisetup Callback Configuration
+#------------------------------------------------------------------------------
+# NOTES: Called when the extension is first loaded and receives a ui object.  
+#	This is the FIRST callback that is executed when intializing this extension.
+#==============================================================================
+def uisetup(ui):
+	ui.debug('* Loading TimeStampMod uisetup\n')
+	pass
+#_ end of uisetup _____________________________________________________________
+
+
+#==============================================================================
+# extsetup Callback Configuration
+#------------------------------------------------------------------------------
+# NOTES: Called after all the extension have been initially loaded.
+#	This is the SECOND callback that is executed when intializing this extension.
+#	It can be used to access other extensions that this one may depend on.
+#==============================================================================
+def extsetup(ui):
+	ui.debug('* Loading TimeStampMod extsetup\n')
+	pass
+#_ end of extsetup ____________________________________________________________
+
+
+#==============================================================================
+# reposetup Callback Configuration
+#------------------------------------------------------------------------------
+# NOTES: Called after the main Mercurial repository initialization.
+#	This is the LAST callback that is executed when intializing this extension.
+#	It can be used to setup any local state the extension might need.
+#==============================================================================
+def reposetup(ui, repo):
+	ui.debug('* Loading TimeStampMod reposetup\n')
+	pass
+#_ end of reposetup ___________________________________________________________
+
+
 #==============================================================================
 # timestamp_mod 
 #------------------------------------------------------------------------------