Mercurial > jhg
comparison src/org/tmatesoft/hg/internal/RepositoryComparator.java @ 425:48f993aa2f41
FIXMEs: exceptions, javadoc
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 28 Mar 2012 18:39:29 +0200 |
parents | 9c9c442b5f2e |
children | 1fc0da631200 |
comparison
equal
deleted
inserted
replaced
424:6437d261048a | 425:48f993aa2f41 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2011 TMate Software Ltd | 2 * Copyright (c) 2011-2012 TMate Software Ltd |
3 * | 3 * |
4 * This program is free software; you can redistribute it and/or modify | 4 * This program is free software; you can redistribute it and/or modify |
5 * it under the terms of the GNU General Public License as published by | 5 * it under the terms of the GNU General Public License as published by |
6 * the Free Software Foundation; version 2 of the License. | 6 * the Free Software Foundation; version 2 of the License. |
7 * | 7 * |
485 rangeToEntry.clear(); | 485 rangeToEntry.clear(); |
486 } | 486 } |
487 toQuery.clear(); | 487 toQuery.clear(); |
488 } | 488 } |
489 if (rootIndex == -1) { | 489 if (rootIndex == -1) { |
490 throw new HgInvalidStateException("Shall not happen, provided between output is correct"); // FIXME EXCEPTIONS | 490 throw new HgInvalidStateException("Shall not happen, provided between output is correct"); |
491 } | 491 } |
492 result[rootIndex] = branchRoot; | 492 result[rootIndex] = branchRoot; |
493 boolean resultOk = true; | 493 boolean resultOk = true; |
494 LinkedList<Nodeid> fromRootToHead = new LinkedList<Nodeid>(); | 494 LinkedList<Nodeid> fromRootToHead = new LinkedList<Nodeid>(); |
495 IntVector missing = new IntVector(); | 495 IntVector missing = new IntVector(); |