Examples of HgSubrepoLocation


Examples of org.tmatesoft.hg.repo.HgSubrepoLocation

        //
        // apparently, key value can't end with '/', `hg commit` fails if it does:
        // abort: path ends in directory separator: fourth/
        Path p = pathFactory.path(key.charAt(key.length()-1) == '/' ? key : key + '/');
        String revValue = substate.get(key);
        HgSubrepoLocation loc = hgRepoInternal.newSubrepo(p, value, kind, revValue == null ? null : Nodeid.fromAscii(revValue));
        res.add(loc);
      }
      return Arrays.asList(res.toArray(new HgSubrepoLocation[res.size()]));
    } finally {
      br.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.