Unable to add files easily with SCPlugin

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to add files easily with SCPlugin

Pyry - Leatherheaven
Hi,

I have the problem using SCPlugin:

1. Folder contains files that are under version control and some that
are not
2. I select all the files (cmd+a) and I select the menu command of
"Subversion > Add"
3. I recieve an error that "File blablabla is already under version
control".

Resulting in a situation that some files are added and some are not. The
"add" process stops on the first encounter of an already versioned file.
If I use svn in the terminal, the program just warns about already
versioned files but adds all the others.

Could someone wise in the community advise me how to add files easily
and quickly with SCPlugin when I have a mixed bunch of already versioned
and nonversioned files in a same folder? For some reason my Mac does not
show the subversion marks on the files so that I can not see what are
already versioned or not... :(

Thanks!
--
Pyry Liukas

Leather Heaven
[hidden email]
http://www.leatherheaven.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Unable to add files easily with SCPlugin

jackrepenning
On Aug 20, 2008, at 1:02 AM, Pyry - Leatherheaven wrote:

> Hi,
>
> I have the problem using SCPlugin:
>
> 1. Folder contains files that are under version control and some  
> that are not
> 2. I select all the files (cmd+a) and I select the menu command of  
> "Subversion > Add"
> 3. I recieve an error that "File blablabla is already under version  
> control".
>
> Resulting in a situation that some files are added and some are not.  
> The "add" process stops on the first encounter of an already  
> versioned file. If I use svn in the terminal, the program just warns  
> about already versioned files but adds all the others.

Interesting.  I'll open a bug; sounds like it ought to be doable.

> Could someone wise in the community advise me how to add files  
> easily and quickly with SCPlugin when I have a mixed bunch of  
> already versioned and nonversioned files in a same folder? For some  
> reason my Mac does not show the subversion marks on the files so  
> that I can not see what are already versioned or not... :(



You can find advice on working around our (known) remaining problems  
with icon badging at this URL:

   http://scplugin.tigris.org/servlets/ReadMsg?list=users&msgNo=777

Do that, and you'll have good badging. Then, you'll have to select the  
new files to add, based on their icons.

-==-
Jack Repenning
[hidden email]
Project Owner
SCPlugin
http://scplugin.tigris.org
"Subversion for the rest of OS X"



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Unable to add files easily with SCPlugin

Till Korten


Jack Repenning wrote:

> On Aug 20, 2008, at 1:02 AM, Pyry - Leatherheaven wrote:
>
>> Hi,
>>
>> I have the problem using SCPlugin:
>>
>> 1. Folder contains files that are under version control and some that
>> are not
>> 2. I select all the files (cmd+a) and I select the menu command of
>> "Subversion > Add"
>> 3. I recieve an error that "File blablabla is already under version
>> control".
>>
>> Resulting in a situation that some files are added and some are not.
>> The "add" process stops on the first encounter of an already
>> versioned file. If I use svn in the terminal, the program just warns
>> about already versioned files but adds all the others.
>
> Interesting.  I'll open a bug; sounds like it ought to be doable.
actually, I think this is an old issue. subversion will stop adding a
list of files as soon as it encouters a file that is already under
version control (hence the error message and hence the adding of a few
files until scplugin tries to add a file that is already versioned).

for the command line, I wrote a script that automatically and
recursively compares all the files in the repository with all the files
in the directory and adds only files that are not under version control.

If anybody is interested in the code, just drop me a mail and i'll send
it to you. One open issue is, that it does not handle whole unversioned
directories, yet.

Jack: could this be a feature that is activated by the option key (e.g.
with option pressed, "add" changes to "add all new files")?


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Unable to add files easily with SCPlugin

jackrepenning
On Aug 20, 2008, at 1:42 PM, Till Korten wrote:

> actually, I think this is an old issue. subversion will stop adding  
> a list of files as soon as it encouters a file that is already under  
> version control (hence the error message and hence the adding of a  
> few files until scplugin tries to add a file that is already  
> versioned).

I'm sure that's true, but the report was that "the command line  
works," so there must be a way.  Based on observing its behavior,  
looks to me like the command line logic is to apply a (possibly  
recursive) add to each individual argument of the command line,  
reporting but ignoring errors; while we (again, based on observation)  
apply a (never recursive) add to the list of files as a whole, or  
abort on the first error. We oughta be able to make our loop keep  
stumbling on.


> for the command line, I wrote a script that automatically and  
> recursively compares all the files in the repository with all the  
> files in the directory and adds only files that are not under  
> version control.

What did I miss? I think that's the normal behavior of the command  
line (with recursion, which is the default).

> Jack: could this be a feature that is activated by the option key  
> (e.g. with option pressed, "add" changes to "add all new files")?

Well, maybe.

As you may recall, I would rather make our "option key" behaviors  
bypass existing dialogs.  In this case, there's no existing dialog  
(same for revert, by the way). So my preference for these two (and any  
other such cases) would be:

1. add a dialog to the normal behavior, which at the least includes a  
"Recursive" check box.
2. make "option" just go straight to recursive, no dialog, and  
labelled as you describe.

For the "add" case, the dialog might be rather like our current  
"status" box, with a list of files and their status, plus check boxes  
to control whether they get added (if they're not already under VC, I  
suppose). Maybe Ash's "select all/none" action menu as well. Throw in  
a "Recursive" check box, and a refresh button, and you're there.




-==-
Jack Repenning
[hidden email]
Project Owner
SCPlugin
http://scplugin.tigris.org
"Subversion for the rest of OS X"



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Unable to add files easily with SCPlugin

simonmcl
Has this ever been fixed ?

I've just started using it and I love the idea of it but 2 things are really annoying me. I'm using OSX 10.8.4 and there are no badge icons on any of the folders, if I use refresh icons, depending on the view i'm using something will flash orange momentarily and then thats it.

e.g. I have a folder with 20 files added / committed, click refresh icons and the first file's text background will fade orange and then fade out.

I also have the same issue as above, meaning that i'm also unable to just select every file and click add, which would be a fine work around.

Is there any work continuing on this ?


____________________

Simon