Skip to main content
diff options
authorJean Michel-Lemieux2002-04-18 17:12:34 -0400
committerJean Michel-Lemieux2002-04-18 17:12:34 -0400
commit421d545c69e25143dafcd0cea6ee6d9ac8181fc7 (patch)
parentf3e290d3fb62ed87fc0e2dd8daded6f7744016eb (diff)
bug in getLatest caused the local tag to be sent to the server instead of the tag passed to the operation. This
broke getting remote files for a tag.
1 files changed, 11 insertions, 1 deletions
diff --git a/bundles/ b/bundles/
index 77707c9f0..876807459 100644
--- a/bundles/
+++ b/bundles/
@@ -87,7 +87,17 @@ public class RemoteFile extends RemoteResource implements ICVSRemoteFile {
return null;
- RemoteFile file = new RemoteFile(parent, managed.getSyncInfo());
+ // ensure that the entry line has the tag in it. Or else status will return
+ // the latest from the branch of the local resource.
+ if(tag!=null) {
+ MutableResourceSyncInfo newInfo = info.cloneMutable();
+ newInfo.setTag(tag);
+ info = newInfo;
+ }
+ // initialize with new sync info from the local resource, this info will
+ // be updated when updateRevision is called.
+ RemoteFile file = new RemoteFile(parent, info);
// use the contents of the file on disk so that the server can calculate the relative
// sync state. This is a trick to allow the server to calculate sync state for us.

Back to the top