|
From: Mikolaj R. <mik...@be...> - 2004-03-23 11:10:12
|
Andre Bender wrote:
> I've never tried the jEdit CVS Plugin, but AFAIK the commit command from CVS
> commits ALL changes you made into the CVS repository.
One can supply additional argument: name of file to commit, i.e.:
cvs commit -m "comment" one_file
will commit just that file.
> As you posted below you got your files from a SMB share. I guess thats the whole
> problem. Having
> the files stored on a network drive slows everything to a crawl because CVS has
> to check each file over the network. (and having 20k files this is in fact
> time consuming).
Doing that localy (on linux box, where the share resides) - I mean commiting whole
directory - on top level directory takes looong time also.
Quick look at the plugin code (I'm not familiar to Java): class JEditCvsShell,
function execute():
public void execute(Console console, Output output, String command) {
....
String fileName = console.getView().getBuffer().getPath();
...
if ("commit".equals(cmd)) {
...
jthread = new CvsThread(console, ...., , fileName);
}
I think that here's the problem - neverthless of what file we are editing, only
directory of the current buffer gets commited. Maybe someone with better Java
skills would correct me.
--
Mikolaj Rydzewski
Becomo S.A.
|