public void openRoot(long revision) throws SVNException { myIsRootOpen = true; myCurrentDirectory = createDirInfo(null, "", false, myDepth); }
public void openDir(String path, long revision) throws SVNException { SVNDepth subDirDepth = myCurrentDirectory.myDepth; if (subDirDepth == SVNDepth.IMMEDIATES) { subDirDepth = SVNDepth.EMPTY; } myCurrentDirectory = createDirInfo(myCurrentDirectory, path, false, subDirDepth); }
public void openDir(String path, long revision) throws SVNException { myCurrentDirectory = createDirInfo(myCurrentDirectory, path, false); }
public void addDir(String path, String copyFromPath, long copyFromRevision) throws SVNException { SVNDepth subDirDepth = myCurrentDirectory.myDepth; if (subDirDepth == SVNDepth.IMMEDIATES) { subDirDepth = SVNDepth.EMPTY; } myCurrentDirectory = createDirInfo(myCurrentDirectory, path, true, subDirDepth); }
public void addDir(String path, String copyFromPath, long copyFromRevision) throws SVNException { SVNDepth subDirDepth = myCurrentDirectory.myDepth; if (subDirDepth == SVNDepth.IMMEDIATES) { subDirDepth = SVNDepth.EMPTY; } myCurrentDirectory = createDirInfo(myCurrentDirectory, path, true, subDirDepth); }
public void openDir(String path, long revision) throws SVNException { SVNDepth subDirDepth = myCurrentDirectory.myDepth; if (subDirDepth == SVNDepth.IMMEDIATES) { subDirDepth = SVNDepth.EMPTY; } myCurrentDirectory = createDirInfo(myCurrentDirectory, path, false, subDirDepth); }
public void addDir(String path, String copyFromPath, long copyFromRevision) throws SVNException { SVNDepth subDirDepth = myCurrentDirectory.myDepth; if (subDirDepth == SVNDepth.IMMEDIATES) { subDirDepth = SVNDepth.EMPTY; } myCurrentDirectory = createDirInfo(myCurrentDirectory, path, true, subDirDepth); }
public void openDir(String path, long revision) throws SVNException { SVNDepth subDirDepth = myCurrentDirectory.myDepth; if (subDirDepth == SVNDepth.IMMEDIATES) { subDirDepth = SVNDepth.EMPTY; } myCurrentDirectory = createDirInfo(myCurrentDirectory, path, false, subDirDepth); }
public void openRoot(long revision) throws SVNException { myIsRootOpen = true; myCurrentDirectory = createDirInfo(null, "", false, myDepth); }
public void openRoot(long revision) throws SVNException { myIsRootOpen = true; myCurrentDirectory = createDirInfo(null, "", false); }
public void openRoot(long revision) throws SVNException { myIsRootOpen = true; myCurrentDirectory = createDirInfo(null, "", false, myDepth); }
public void addDir(String path, String copyFromPath, long copyFromRevision) throws SVNException { myCurrentDirectory = createDirInfo(myCurrentDirectory, path, true); }
public SVNCommitInfo closeEdit() throws SVNException { if (!myIsRootOpen) { localDirectoryDiff(createDirInfo(null, "", false, myDepth)); } return null; }
public SVNCommitInfo closeEdit() throws SVNException { if (!myIsRootOpen) { localDirectoryDiff(createDirInfo(null, "", false)); } return null; }
public SVNCommitInfo closeEdit() throws SVNException { if (!myIsRootOpen) { localDirectoryDiff(createDirInfo(null, "", false, myDepth)); } return null; }
public SVNCommitInfo closeEdit() throws SVNException { if (!myIsRootOpen) { localDirectoryDiff(createDirInfo(null, "", false, myDepth)); } return null; }
public void deleteEntry(String path, long revision) throws SVNException { File fullPath = new File(myAdminInfo.getAnchor().getRoot(), path); SVNAdminArea dir = myWCAccess.probeRetrieve(fullPath); SVNEntry entry = myWCAccess.getEntry(fullPath, false); if (entry == null) { return; } String name = SVNPathUtil.tail(path); myCurrentDirectory.myComparedEntries.add(name); if (!myIsCompareToBase && entry.isScheduledForDeletion()) { return; } if (entry.isFile()) { if (myIsReverseDiff) { File baseFile = dir.getBaseFile(name, false); SVNProperties baseProps = dir.getBaseProperties(name).asMap(); getDiffCallback().fileDeleted(path, baseFile, null, null, null, baseProps, null); } else { reportAddedFile(myCurrentDirectory, path, entry); } } else if (entry.isDirectory()) { SVNDirectoryInfo info = createDirInfo(myCurrentDirectory, path, false, SVNDepth.INFINITY); reportAddedDir(info); } }
public void deleteEntry(String path, long revision) throws SVNException { File fullPath = new File(myAdminInfo.getAnchor().getRoot(), path); SVNAdminArea dir = myWCAccess.probeRetrieve(fullPath); SVNEntry entry = myWCAccess.getEntry(fullPath, false); if (entry == null) { return; } String name = SVNPathUtil.tail(path); myCurrentDirectory.myComparedEntries.add(name); if (!myIsCompareToBase && entry.isScheduledForDeletion()) { return; } if (entry.isFile()) { if (myIsReverseDiff) { File baseFile = dir.getBaseFile(name, false); Map baseProps = dir.getBaseProperties(name).asMap(); getDiffCallback().fileDeleted(path, baseFile, null, null, null, baseProps); } else { reportAddedFile(myCurrentDirectory, path, entry); } } else if (entry.isDirectory()) { SVNDirectoryInfo info = createDirInfo(myCurrentDirectory, path, false); reportAddedDir(info); } }
public void deleteEntry(String path, long revision) throws SVNException { File fullPath = new File(myAdminInfo.getAnchor().getRoot(), path); SVNAdminArea dir = myWCAccess.probeRetrieve(fullPath); SVNEntry entry = myWCAccess.getEntry(fullPath, false); if (entry == null) { return; } String name = SVNPathUtil.tail(path); myCurrentDirectory.myComparedEntries.add(name); if (!myIsCompareToBase && entry.isScheduledForDeletion()) { return; } if (entry.isFile()) { if (myIsReverseDiff) { File baseFile = dir.getBaseFile(name, false); SVNProperties baseProps = dir.getBaseProperties(name).asMap(); getDiffCallback().fileDeleted(path, baseFile, null, null, null, baseProps, null); } else { reportAddedFile(myCurrentDirectory, path, entry); } } else if (entry.isDirectory()) { SVNDirectoryInfo info = createDirInfo(myCurrentDirectory, path, false, SVNDepth.INFINITY); reportAddedDir(info); } }
public void deleteEntry(String path, long revision) throws SVNException { File fullPath = new File(myAdminInfo.getAnchor().getRoot(), path); SVNAdminArea dir = myWCAccess.probeRetrieve(fullPath); SVNEntry entry = myWCAccess.getEntry(fullPath, false); if (entry == null) { return; } String name = SVNPathUtil.tail(path); myCurrentDirectory.myComparedEntries.add(name); if (!myIsCompareToBase && entry.isScheduledForDeletion()) { return; } if (entry.isFile()) { if (myIsReverseDiff) { File baseFile = dir.getBaseFile(name, false); SVNProperties baseProps = dir.getBaseProperties(name).asMap(); getDiffCallback().fileDeleted(path, baseFile, null, null, null, baseProps, null); } else { reportAddedFile(myCurrentDirectory, path, entry); } } else if (entry.isDirectory()) { SVNDirectoryInfo info = createDirInfo(myCurrentDirectory, path, false, SVNDepth.INFINITY); reportAddedDir(info); } }