Пример #1
0
 // load
 private void OnLoadRepository(object sender, RoutedEventArgs e)
 {
     var url = m_url_textbox.Text;
     Repository repo = Repository.Open(url);
     m_repository = repo;
     m_branches.ItemsSource = repo.Branches;
     m_tags.ItemsSource = repo.Tags;
     DisplayCommit(repo.HEAD.Commit, "HEAD");
     ReloadConfiguration();
 }
Пример #2
0
 public void TearDown()
 {
     repo = null;
 }
Пример #3
0
 public void Setup()
 {
     repo = Repository.Open(Global.TestRepositoryPath);
 }