Re: Source code management with IDL Workbench [message #57556 is a reply to message #57555] |
Thu, 13 December 2007 12:26   |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
On Dec 13, 11:32 am, David Fanning <n...@dfanning.com> wrote:
> David Fanning writes:
>> The key thing appears to be that the file MUST be in a directory
>> or project that was checked out or created from the repository by
>> Subclipse. Then, you DO get the Team menu with useful options.
>
> But, no one has really answered this question directly:
> No way to ADD a directory of files directly to the
> repository via IDL, is that right? The project (and by
> extension, the directory) needs to be created from
> the repository first, then files added, then you can
> commit those files to the repository. But someone has
> to muck with the repository first. This can't be done
> from inside of IDL. Am I correct in this?
In my experience, every way of adding files to a repository requires
checking out the repository first. The Subversion book says about "svn
add":
"Add files, directories, or symbolic links to your working copy and
schedule them for addition to the repository. They will be uploaded
and added to the repository on your next commit. If you add something
and change your mind before committing, you can unschedule the
addition using svn revert."
So I think that means you have to have a working copy first.
But, why would you do that? Don't you need to have a local copy of
everything working, test it, etc. AND then check in the file? I
suppose if you had a library of completely unrelated routines then
adding them directly would make sense.
Mike
--
www.michaelgalloy.com
Tech-X Corporation
Software Developer II
|
|
|