public static void ShowModelDialog(Repository repo)
 {
     try
     {
         ShowLogDialog dlg = new ShowLogDialog();
         dlg.Update(repo);
         dlg.ShowDialog();
     }
     catch (Exception ee)
     {
         Trace.WriteLine("### [" + ee.Source + "] Exception: " + ee.Message);
         Trace.WriteLine("### " + ee.StackTrace);
     }
 }
 /// <summary>
 /// 查看提交记录对话框;
 /// </summary>
 public void ShowLog(String path = null)
 {
     ShowLogDialog.ShowModelDialog(this.TheRepository);
 }