Re: [fossil-users] History for a particular file

2009-10-28 Thread altufaltu
Hi DRH,


Shall I commit these changes?


- Altu


-Original Message-
From: Venkat Iyer ven...@comit.com
To: fossil-users@lists.fossil-scm.org
Sent: Wed, Oct 28, 2009 11:48 am
Subject: Re: [fossil-users] History for a particular file









I am not sure how to get it in, and if it's even worthy of getting in.
I made some mods.

  1. add help
  2. add -l option (for brief and verbose histories)
  3. report error for unknown files.

I'm not sure if I should pollute this list with code examples.  So I
moved it to:

 http://tinyurl.com/ylpr8zw

which is really:

 http://venksi.blogspot.com/2009/10/i-evaled-bunch-of-distributed-version.html

I'm working on trying to integrate fossil into emacs vc.

 - Venkat


-Original Message-
From: Joshua Paine jos...@letterblock.com
Sent: Wednesday, October 21, 2009 10:49:19
Subject: Re: [fossil-users] History for a particular file

I would like to see this feature in fossil. How does an enhancement like
this make its way into the main codebase?


___
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] including diagrams in the Fossil wiki

2009-10-28 Thread Dmitry Chestnykh
You can address your commited images by using the /doc URL, e.g.:

http://your_repository.url/doc/tip/image.gif

See this link for more info:

http://www.fossil-scm.org/index.html/doc/tip/www/embeddeddoc.wiki

--
Dmitry Chestnykh
Coding Robots

http://www.codingrobots.com
dmi...@codingrobots.com




On 28.10.2009, at 20:38, Higham, Paul wrote:

 I started using Fossil last week for a project I am doing with one  
 partner.  I am starting to build up some design notes in the wiki  
 hosted on my machine and I tried to include a diagram that I have  
 created in .gif format.  The Fossil wiki markup language provides  
 for the img tag to be used but I have so far been unsuccessful in  
 having our wiki find the image file.

 As I understand it the wiki pages are only contained in the  
 repository so there’s no point looking for an index.html file to  
 displace from, so how do you anchor the search for image files that  
 you want to include?

 I have committed the diagram image file into my local repository and  
 I can see it if I follow the link on its artifact ID but I cannot  
 post it on a wiki page.  Is there a way to point at this from inside  
 the repository?

 Paul Higham
 Senior Software Engineer
 Cardiac Rhythm Management Division

 St. Jude Medical
 709 East Evelyn Avenue
 Sunnyvale, CA 95086 USA
 Tel +1 408 522 6225
 phig...@sjm.com


 This communication, including any attachments, may contain  
 information that is proprietary, privileged, confidential or legally  
 exempt from disclosure. If you are not a named addressee, you are  
 hereby notified that you are not authorized to read, print, retain a  
 copy of or disseminate any portion of this communication without the  
 consent of the sender and that doing so may be unlawful. If you have  
 received this communication in error, please immediately notify the  
 sender via return e-mail and delete it from your system.
 ___
 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


[fossil-users] Integration into Emacs Version Control

2009-10-28 Thread Venkat Iyer

I'm trying to integrate fossil into emacs vc
(http://www.gnu.org/software/emacs/manual/html_node/emacs/Version-Control.html).

For the *minimum* required functionality (see vc.el), I'd like to do
enhance the following fossil commands.  

1. FOSSIL STATUS

 Takes an optional first argument.

 - if called with a directory name, prints either:
- within an open checkout
- not within an open checkout.

 - if called with a filename, prints one of these strings:
- unknown, up-to-date, edited, needs-patch, needs-merge
- and a revision number (- for unknown).

2. FOSSIL CHECKOUT

 Add a -p flag.  This prints out the version of a file to
 stdout.   No files on disk are changed.

3. FOSSIL FINFO

See other posts for my intended changes.

-- Commands that will be used as existing 

% fossil ci
% fossil add
% fossil revert
% fossil diff

-

Anybody done this?  Any suggestions/objections? Another option is to
add separate commands to add this functionality.


 - Venkat







___
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] Integration into Emacs Version Control

2009-10-28 Thread Stephan Beal
On Wed, Oct 28, 2009 at 10:49 PM, Venkat Iyer ven...@comit.com wrote:


 I'm trying to integrate fossil into emacs vc
 (
 http://www.gnu.org/software/emacs/manual/html_node/emacs/Version-Control.html
 ).


:-D

   - and a revision number (- for unknown).

i would recommend using 0, which will never be a valid hash code and
doesn't require unusual special-case checks in the emacs mode parsing code
(or shell scripts for that matter).

2. FOSSIL CHECKOUT

  Add a -p flag.  This prints out the version of a file to
  stdout.   No files on disk are changed.


i don't think checkout is the right place for that, because it works on
the whole repo, not a specific file. i think finfo would be a better place:


 3. FOSSIL FINFO




 Anybody done this?  Any suggestions/objections? Another option is to
 add separate commands to add this functionality.


i looked at your code earlier. IMO, finfo sounds like the place for the (1)
and (2) functionality, though i agree that status might be more intuitive.
When i say sounds like the place for it, i mean mainly to avoid changing
the existing functionality of status too much (though i agree it'd
probably be easier for people to find).

:)

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
___
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] Integration into Emacs Version Control

2009-10-28 Thread Venkat Iyer

Stephan,

Thanks.  That's a good idea.  I'll just put everything into finfo for
now.  That'll hopefuly need me to change only one file.

1. fossil finfo -s|--status filename   ;# with 0 for unknown rev
2. fossil finfo -p|--print  filename ?revision?   ;# get rev to stdout.
3. fossil finfo -l|--long   filename ;# for detailed history
4. fossil filename   ;# current short history

 - Venkat

-Original Message-
From: Stephan Beal sgb...@googlemail.com
Sent: Wednesday, October 28, 2009 23:36:35
Subject: Re: [fossil-users] Integration into Emacs Version Control

On Wed, Oct 28, 2009 at 10:49 PM, Venkat Iyer ven...@comit.com wrote:


 I'm trying to integrate fossil into emacs vc
 (
 http://www.gnu.org/software/emacs/manual/html_node/emacs/Version-Control.html
 ).


:-D

   - and a revision number (- for unknown).

i would recommend using 0, which will never be a valid hash code and
doesn't require unusual special-case checks in the emacs mode parsing code
(or shell scripts for that matter).

2. FOSSIL CHECKOUT

  Add a -p flag.  This prints out the version of a file to
  stdout.   No files on disk are changed.


i don't think checkout is the right place for that, because it works on
the whole repo, not a specific file. i think finfo would be a better place:


 3. FOSSIL FINFO




 Anybody done this?  Any suggestions/objections? Another option is to
 add separate commands to add this functionality.


i looked at your code earlier. IMO, finfo sounds like the place for
the (1) and (2) functionality, though i agree that status might be
more intuitive.  When i say sounds like the place for it, i mean
mainly to avoid changing the existing functionality of status too
much (though i agree it'd probably be easier for people to find).

:)


___
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] QLFossil - Quick Look plugin for Mac OS X

2009-10-28 Thread Steve Landers
On Oct 26, 2009, at 10:35 PM, Dmitry Chestnykh wrote:

 Hello,

 Today I wrote a Quick Look plugin for Mac OS X to quickly view
 timeline of repositories.

 You can check it out here:

 http://dev.codingrobots.org/cgi-bin/o/qlfossil/

 I hope Mac users will like it ;-)

This one does :)

Very cool - thanks for the work

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