Mercurial > jhg
comparison src/org/tmatesoft/hg/repo/HgPhase.java @ 652:cd77bf51b562
Push: tests. Commit respects phases.new-commit setting. Fix outgoing when changes are not children of common (Issue 47)
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> | 
|---|---|
| date | Tue, 02 Jul 2013 23:21:16 +0200 | 
| parents | e79cf9a8130b | 
| children | 
   comparison
  equal
  deleted
  inserted
  replaced
| 651:6e98d34eaca8 | 652:cd77bf51b562 | 
|---|---|
| 66 if (this == Undefined) { | 66 if (this == Undefined) { | 
| 67 throw new IllegalStateException("Undefined phase is an artifical value, which doesn't possess a valid native mercurial ordinal"); | 67 throw new IllegalStateException("Undefined phase is an artifical value, which doesn't possess a valid native mercurial ordinal"); | 
| 68 } | 68 } | 
| 69 return ordinal(); // what a coincidence | 69 return ordinal(); // what a coincidence | 
| 70 } | 70 } | 
| 71 | |
| 72 public String mercurialString() { | |
| 73 return hgString; | |
| 74 } | |
| 71 } | 75 } | 
