Mercurial > jhg
diff cmdline/org/tmatesoft/hg/console/Main.java @ 252:a6d19adc2636
HgRepository.getWorkingCopyBranchName() to retrieve branch associated with working directory
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Mon, 15 Aug 2011 18:51:41 +0200 |
parents | 4c3b9f679412 |
children | 1874d11054e5 |
line wrap: on
line diff
--- a/cmdline/org/tmatesoft/hg/console/Main.java Fri Aug 12 19:12:04 2011 +0200 +++ b/cmdline/org/tmatesoft/hg/console/Main.java Mon Aug 15 18:51:41 2011 +0200 @@ -75,9 +75,9 @@ // m.testRevisionMap(); // m.testSubrepos(); // m.testReadWorkingCopy(); -// m.testParents(); + m.testParents(); // m.testEffectiveFileLog(); - m.testCatAtCsetRevision(); +// m.testCatAtCsetRevision(); // m.testMergeState(); // m.testFileStatus(); // m.dumpBranches(); @@ -173,6 +173,7 @@ int x = clog.getLocalRevision(wcParents.second()); cmd.range(x, x).execute(dump); } + System.out.println("Branch:" + hgRepo.getWorkingCopyBranchName()); } /*