On Mon, Mar 24, 2014 at 04:49:10PM -0700, Matt Welland wrote:
> A fossil cat command only works if run inside an opened area but there
> is no intrinsic reason why.
> 
> > fossil cat foo/bar.txt -r trunk -R /some/fossil/file.fossilĀ 
> fossil: current directory is not within an open checkout
> 

Fixed here: http://www.fossil-scm.org/index.html/info/dc10f8d74c

Please test it so we could merge this change to trunk eventually.

I've tested many different cases and all seems to work..
        - specifying a revision with "-r"
        - working from another unrelated nested checkout

I've look to change the finfo command too, but this one need a bit more
work because with some of the arguments (-s|--status), it really need
to be inside a checkout and it call db_must_be_within_tree() right in
beginning. And as opposed to the cat command, the finfo usage help text
doesn't refer to the (-R|--repository) option.

Regards

-- 
Martin G.
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to