/Examples/019 - Bookmarks.linq
Unknown | 20 lines | 17 code | 3 blank | 0 comment | 0 complexity | 28d82fbf0a2349ff45e7441c3c782b05 MD5 | raw file
Possible License(s): BSD-3-Clause, GPL-2.0
- <Query Kind="Program">
- <Reference Relative="..\Mercurial.Net\bin\Debug\Mercurial.Net.dll">C:\dev\vs.net\Mercurial.Net\Mercurial.Net\bin\Debug\Mercurial.Net.dll</Reference>
- <Namespace>Mercurial</Namespace>
- <Namespace>Mercurial.Extensions.Churn</Namespace>
- </Query>
-
- // *****************************************************
- // *
- // * This example shows how to list all the bookmarks
- // * in a repository.
- // *
- // ***********************
-
- void Main()
- {
- var repoPath = @"C:\Temp\SomeOtherRepo";
- var repo = new Repository(repoPath);
-
- repo.Bookmarks().Dump();
- }