Examples of history()


Examples of org.apache.maven.scm.provider.accurev.AccuRev.history()

                }

                // History needs to start from the transaction after our starting transaction

                streamHistory =
                    accurev.history( stream, Long.toString( fromTranId + 1 ), Long.toString( toTranId ), 0, false,
                                     false );
                if ( streamHistory == null )
                {
                    errorMessage.append( "history on stream " + stream + " from " + fromTranId + 1 + " to " + toTranId
                        + " failed." );
View Full Code Here

Examples of org.apache.maven.scm.provider.accurev.AccuRev.history()

                Stream diffStream = changelogStream;
                if ( changelogStream.isWorkspace() )
                {

                    workspaceHistory =
                        accurev.history( stream, Long.toString( fromTranId + 1 ), Long.toString( toTranId ), 0, false,
                                         false );

                    if ( workspaceHistory == null )
                    {
                        errorMessage.append( "history on workspace " + stream + " from " + fromTranId + 1 + " to "
View Full Code Here

Examples of org.apache.maven.scm.provider.accurev.AccuRev.history()

                }

                // History needs to start from the transaction after our starting transaction

                streamHistory =
                    accurev.history( stream, Long.toString( fromTranId + 1 ), Long.toString( toTranId ), 0, false,
                                     false );
                if ( streamHistory == null )
                {
                    errorMessage.append( "history on stream " + stream + " from " + fromTranId + 1 + " to " + toTranId
                        + " failed." );
View Full Code Here

Examples of org.apache.maven.scm.provider.accurev.AccuRev.history()

                Stream diffStream = changelogStream;
                if ( changelogStream.isWorkspace() )
                {

                    workspaceHistory =
                        accurev.history( stream, Long.toString( fromTranId + 1 ), Long.toString( toTranId ), 0, false,
                                         false );

                    if ( workspaceHistory == null )
                    {
                        errorMessage.append( "history on workspace " + stream + " from " + fromTranId + 1 + " to "
View Full Code Here

Examples of org.apache.maven.scm.provider.accurev.AccuRev.history()

                }

                // History needs to start from the transaction after our starting transaction

                streamHistory =
                    accurev.history( stream, Long.toString( fromTranId + 1 ), Long.toString( toTranId ), 0, false,
                                     false );
                if ( streamHistory == null )
                {
                    errorMessage.append( "history on stream " + stream + " from " + fromTranId + 1 + " to " + toTranId
                        + " failed." );
View Full Code Here

Examples of org.tmatesoft.hg.repo.HgDataFile.history()

  }

  private void buildFileLogOld() throws Exception {
    final HgDataFile fn = hgRepo.getFileNode("file1");
    final int[] fileChangesetRevisions = new int[fn.getRevisionCount()];
    fn.history(new HgChangelog.Inspector() {
      private int fileLocalRevisions = 0;
      private int[] parentRevisions = new int[2];
     
      public void next(int revisionNumber, Nodeid nodeid, RawChangeset cset) {
        try {
View Full Code Here

Examples of org.tmatesoft.hg.repo.HgDataFile.history()

    for (String fname : cmdLineOpts.getList("")) {
      System.out.println(fname);
      final long start = System.currentTimeMillis();
      HgDataFile fn = hgRepo.getFileNode(fname);
      if (fn.exists()) {
        fn.history(new HgChangelog.Inspector() {
          public void next(int revisionNumber, Nodeid nodeid, RawChangeset cset) {
            System.out.printf("%d:%s\n", revisionNumber, nodeid);
          }
        });
      }
View Full Code Here

Examples of org.tmatesoft.hg.repo.HgDataFile.history()

          } else {
            // report complete file history (XXX may narrow range with [startRev, endRev], but need to go from file rev to link rev)
            int fileStartRev = curRename.fileFrom();
            int fileEndRev = curRename.file().getLastRevision(); //curRename.fileTo();
            if (iterateDirection == HgIterateDirection.OldToNew) {
              fileNode.history(fileStartRev, fileEndRev, filterInsp);
              csetTransform.checkFailure();
            } else {
              assert iterateDirection == HgIterateDirection.NewToOld;
              BatchRangeHelper brh = new BatchRangeHelper(fileStartRev, fileEndRev, BATCH_SIZE, true);
              BatchChangesetInspector batchInspector = new BatchChangesetInspector(Math.min(fileEndRev-fileStartRev+1, BATCH_SIZE));
View Full Code Here

Examples of org.tmatesoft.hg.repo.HgDataFile.history()

              BatchRangeHelper brh = new BatchRangeHelper(fileStartRev, fileEndRev, BATCH_SIZE, true);
              BatchChangesetInspector batchInspector = new BatchChangesetInspector(Math.min(fileEndRev-fileStartRev+1, BATCH_SIZE));
              filterInsp.delegateTo(batchInspector);
              while (brh.hasNext()) {
                brh.next();
                fileNode.history(brh.start(), brh.end(), filterInsp);
                for (BatchChangesetInspector.BatchRecord br : batchInspector.iterate(true /*iterateDirection == IterateDirection.FromNewToOld*/)) {
                  csetTransform.next(br.csetIndex, br.csetRevision, br.cset);
                  csetTransform.checkFailure();
                }
                batchInspector.reset();
View Full Code Here

Examples of org.uberfire.java.nio.base.version.VersionAttributes.history()

            outStream.write( cherryPickContent.getBytes() );
            outStream.close();

            final VersionAttributes versionAttributes = PROVIDER.readAttributes( path, VersionAttributes.class );

            assertThat( versionAttributes.history().records() ).isNotNull().hasSize( 2 );
            commit2CherryPick = versionAttributes.history().records().get( 0 ).id();

            final OutputStream outStream2 = PROVIDER.newOutputStream( path );
            outStream2.write( "my 3rd cool content".getBytes() );
            outStream2.close();
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.