Re: [fossil-users] Adding Fossil to Windows Explorer context menu?

2011-10-20 Thread Kohn Bernhard
Dear Gilles,

I have used the fast explorer to achieve a menu entry just beneath 7zip 
explorer entry. You should try the Submenu Items selection on the left side of 
fast explorer.
But I use only the type File Folder.

Best regards
  Bernhard

-Ursprüngliche Nachricht-
Von: fossil-users-boun...@lists.fossil-scm.org 
[mailto:fossil-users-boun...@lists.fossil-scm.org] Im Auftrag von Gilles
Gesendet: Mittwoch, 19. Oktober 2011 15:00
An: fossil-users@lists.fossil-scm.org
Betreff: Re: [fossil-users] Adding Fossil to Windows Explorer context menu?

On Wed, 19 Oct 2011 09:33:15 +0200, Kohn Bernhard bernhard.k...@ait.ac.at 
wrote:
thanks for sharing the idea using Fast Explorer. I find it very good!

Actually, it's not that good because...
- it requires installing Fast Explorer
- it requires adding a fossil.bat just to call pause to keep the DOS box open 
after fossil.exe exits
- fossil gdiff --from previous myfile.txt doesn't work because %1%
returns the full path
- the gdiff above is called for All Files, which means that this item is not 
displayed in the Fossil group like the other items

I haven't found how to add a group + items in the context menu à la 7zip. It 
seems like we must write a COM DLL for this.

For my personal use I have written a small .net program FossilCmd for opening 
a windows command console and sending fossil commands to it.

Sound good. Could you upload it so we can check it out?

Thank you.

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Adding Fossil to Windows Explorer context menu?

2011-10-20 Thread Kohn Bernhard
Hello Tomek,

you are right, this would be the best solution. But there exist a problem with 
shell extension and .net. As far as I know it is not officially supported by 
Microsoft.
First they said, that with the .net Framework 4.0 it should be available, but 
it is not announced (but may be I am wrong, if anybody knows better, please 
mail).

The thing I liked with the fast explorer approach one can customize the options 
to the own needs, I my self only use very little commands of all the available 
ones, so I can configure it, to those things I really need, with very low 
amount of time.

Best regards
  Bernhard


Von: fossil-users-boun...@lists.fossil-scm.org 
[mailto:fossil-users-boun...@lists.fossil-scm.org] Im Auftrag von Tomek Kott
Gesendet: Mittwoch, 19. Oktober 2011 17:23
An: Fossil SCM user's discussion
Betreff: Re: [fossil-users] Adding Fossil to Windows Explorer context menu?

For windows users, there is already an effort to get fossil extended to the 
explorer context menu. At the moment, the C# library for fossil commands is 
being written. See Ingo's SharpFossil library implementation for .NET 
purposes: 
http://repository.mobile-developers.de/cgi-bin/ikoch/sharpfossil/wiki?name=SharpFossil+Library.

I think that the library currently has most of the commonly used functions 
written, so there might be an opportunity to start coding a explorer extension 
using that library.

Just some cents...

Tomek
On Wed, Oct 19, 2011 at 8:59 AM, Gilles 
gilles.gana...@free.frmailto:gilles.gana...@free.fr wrote:
On Wed, 19 Oct 2011 09:33:15 +0200, Kohn Bernhard
bernhard.k...@ait.ac.atmailto:bernhard.k...@ait.ac.at wrote:
thanks for sharing the idea using Fast Explorer. I find it very good!
Actually, it's not that good because...
- it requires installing Fast Explorer
- it requires adding a fossil.bat just to call pause to keep the DOS
box open after fossil.exe exits
- fossil gdiff --from previous myfile.txt doesn't work because %1%
returns the full path
- the gdiff above is called for All Files, which means that this item
is not displayed in the Fossil group like the other items

I haven't found how to add a group + items in the context menu à la
7zip. It seems like we must write a COM DLL for this.

For my personal use I have written a small .net program FossilCmd for opening 
a windows command console and sending fossil commands to it.
Sound good. Could you upload it so we can check it out?

Thank you.

___
fossil-users mailing list
fossil-users@lists.fossil-scm.orgmailto:fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Adding Fossil to Windows Explorer context menu?

2011-10-20 Thread Kohn Bernhard
Hello Gilles

 Actually, it's not that good because...
 - it requires installing Fast Explorer
 - it requires adding a fossil.bat just to call pause to keep the DOS box 
 open after fossil.exe exits
 - fossil gdiff --from previous myfile.txt doesn't work because %1%
 returns the full path
 - the gdiff above is called for All Files, which means that this item is not 
 displayed in the Fossil group like the other items

 I haven't found how to add a group + items in the context menu à la 7zip. It 
 seems like we must write a COM DLL for this.

 For my personal use I have written a small .net program FossilCmd for 
 opening a windows command console and sending fossil commands to it.

 Sound good. Could you upload it so we can check it out?

I will make it available next week, when I am back in office

Best regards
  Bernhard
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Adding Fossil to Windows Explorer context menu?

2011-10-19 Thread Kohn Bernhard
Hi Gilles,

thanks for sharing the idea using Fast Explorer. I find it very good!
For my personal use I have written a small .net program FossilCmd for opening a 
windows command console and sending fossil commands to it.
The windows command console remains open until I close it directly. If there is 
already an open windows command console for this particular working directory, 
the command is send to this window, so there will no cluttering of serval open 
windows command consoles, only one per working directory (this is achieved by 
searching the _FOSSIL_ file in the parent directories).
With the fast explorer I build an explorer menu (only for directories) and call 
the program (e.g. FossilCmd changes %1, where %1 is the directory I selected in 
explorer). This is pretty nice working (just used it for one day).

If this is of any use for others, I can make this public available.

Best regards
  Bernhard
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] fossil rm ./*

2010-06-24 Thread Kohn Bernhard
Oh no, I didn't meant to say, its important.
And yes, you are right, I use this for an obscure corner case, and doing this 
with commandline is no problem.


Best regards
  Bernhard
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users