Package org.tmatesoft.hg.internal.Patch

Examples of org.tmatesoft.hg.internal.Patch.PatchDataSource.serialize()


          ds.writeByte(parentMap.get(parent2Revision).toByteArray());
        } else {
          ds.writeByte(Nodeid.NULL.toByteArray());
        }
        ds.writeByte(clogMap.get(linkRevision).toByteArray());
        pds.serialize(ds);
      } catch (IOException ex) {
        // XXX odd to have object with IOException to use where no checked exception is allowed
        throw new HgInvalidControlFileException(ex.getMessage(), ex, null);
      } catch (HgIOException ex) {
        throw new HgInvalidControlFileException(ex, true); // XXX any way to refactor ChunkGenerator not to get checked exception here?
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.