315316317318319320321322
public File file(String name) { return new File(getDirectory(), name); } public void lock() { GenericCommand lock = new GenericCommand(this, "javahg-lock"); lock.execute(); }
320321322323324325326327
GenericCommand lock = new GenericCommand(this, "javahg-lock"); lock.execute(); } public void unlock() { GenericCommand unlock = new GenericCommand(this, "javahg-unlock"); unlock.execute(); }
325326327328329330331332
330331332333334335336337
134135136137138139140141
* * @throws IOException */ public void pushToRepository() throws IOException { final BaseRepository base = getBaseRepository(); GenericCommand cmd = new GenericCommand(base, "pull"); cmd.execute(getFile().getPath()); }
235236237238239240241242
public File file(String name) { return new File(getDirectory(), name); } public void lock() { GenericCommand lock = new GenericCommand(this, "javahglock"); lock.execute(); }
240241242243244245246247
GenericCommand lock = new GenericCommand(this, "javahglock"); lock.execute(); } public void unlock() { GenericCommand unlock = new GenericCommand(this, "javahgunlock"); unlock.execute(); }
340341342343344345346347
345346347348349350351352