CodingGorilla Posted January 18, 2012 Report Share Posted January 18, 2012 This is sort of an odd question, and I don't want to waste a lot of space with needless details. Essentially what I need to do is tell plastic to check in a file, which is in a repository, but from a folder which is not a part of the workspace. A file is being update on an automation server, and I need to track the file as its updated and I'm kind of grasping at straws. Is it possible? Any thoughts on how to handle it? Link to comment Share on other sites More sharing options...
manu Posted January 19, 2012 Report Share Posted January 19, 2012 Essentially what I need to do is tell plastic to check in a file, which is in a repository, but from a folder which is not a part of the workspace. Is it possible? Any thoughts on how to handle it? You can use the full file path to invoke the ci, for example, my working path is "c:\Users\manu", byt my workspace is at "C:\tmp\fefi", I can ci the "AssemblyInfo.cs" file by doing the following. C:\Users\manu>cm ci C:\tmp\fefi\test\cmtest\AssemblyInfo.cs The selected items are about to be checked in. Please wait ... Assembling checkin data Validating checkin data Uploading file data Uploaded 11 bytes of 11 bytes (100%) Confirming checkin operation Modified c:\tmp\fefi\test\cmtest\AssemblyInfo.cs Created changeset cs:7748@br:/main@rep:OriginPnunit@repserver:TIZONA:8084 I'm not sure if this is what you are looking for :S Manu Link to comment Share on other sites More sharing options...
CodingGorilla Posted January 19, 2012 Author Report Share Posted January 19, 2012 Is "C:\tmp\fefi" a plastic workspace? In my case let's just say that c:\workspaces\myproject is the actual workspace where the code is bullt from; then after some testing and other automated stuff is done files are copied to C:\updates\myproject (by scripts) and one of the files is updated. But c:\updates\myproject is not a plastic workspace; so am I correct in thinking I need to get it back to c:\workspaces\myproject somehow before I can do a check in? Is there anyway to do check-in from this "remote" location? Link to comment Share on other sites More sharing options...
manu Posted January 19, 2012 Report Share Posted January 19, 2012 Hi Coding Gorilla, I'm afraid it's not possible, you need a workspace in order to issue cm commands. Manu. Link to comment Share on other sites More sharing options...
CodingGorilla Posted January 19, 2012 Author Report Share Posted January 19, 2012 Ok, that's what I thought; but I figured I might as well ask. Link to comment Share on other sites More sharing options...
manu Posted January 25, 2012 Report Share Posted January 25, 2012 No problem! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.