PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 1ms

/Examples/019 - Bookmarks.linq

#
Unknown | 20 lines | 17 code | 3 blank | 0 comment | 0 complexity | 28d82fbf0a2349ff45e7441c3c782b05 MD5 | raw file
 1<Query Kind="Program">
 2  <Reference Relative="..\Mercurial.Net\bin\Debug\Mercurial.Net.dll">C:\dev\vs.net\Mercurial.Net\Mercurial.Net\bin\Debug\Mercurial.Net.dll</Reference>
 3  <Namespace>Mercurial</Namespace>
 4  <Namespace>Mercurial.Extensions.Churn</Namespace>
 5</Query>
 6
 7// *****************************************************
 8// *
 9// * This example shows how to list all the bookmarks
10// * in a repository.
11// *
12// ***********************
13
14void Main()
15{
16	var repoPath = @"C:\Temp\SomeOtherRepo";
17    var repo = new Repository(repoPath);
18
19    repo.Bookmarks().Dump();
20}