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