[fossil-users] cannot commit 'manifest file (1816) is malformed'

2012-06-29 Thread Jacek Cała
  Hi,

I've been doing some code maintenance (lots of deletes, renames, adds)
and now cannot do commit. Every commit attempt causes:

 fossil.exe: manifest file (1816) is malformed.

What does this mean? Is there any chance to fix the repo? My fossil
version is 1.22.

  Jacek
___
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] cannot commit 'manifest file (1816) is malformed'

2012-06-29 Thread Stephan Beal
On Fri, Jun 29, 2012 at 11:33 AM, Jacek Cała jacek.c...@gmail.com wrote:

  fossil.exe: manifest file (1816) is malformed.

 What does this mean? Is there any chance to fix the repo? My fossil
 version is 1.22.


That's a new one. :/

Can you please try:

fossil test-agg-cksum

just to make sure that the basic checks for that function work?

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
___
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] cannot commit 'manifest file (1816) is malformed'

2012-06-29 Thread Richard Hipp
On Fri, Jun 29, 2012 at 5:33 AM, Jacek Cała jacek.c...@gmail.com wrote:

  Hi,

 I've been doing some code maintenance (lots of deletes, renames, adds)
 and now cannot do commit. Every commit attempt causes:

  fossil.exe: manifest file (1816) is malformed.

 What does this mean? Is there any chance to fix the repo? My fossil
 version is 1.22.


It means there is a bug in Fossil.  Can you please send me the complete
output from trying to do your commit but with the --test option added?

Note that the changes to the repository happen inside a transaction.  This
bug was detected by a self-check phase that occurs just prior to
transaction commit.  The self-check phase is designed to detect problems
before they can cause repository corruption, and to rollback faulty commits
before they actually occur, which is exactly what is happening here.  This
is one of the big advantages of using a transactional database engine as
the repository, rather than a pile-of-files as in other VCSes - bugs are
annoying but do not cause repository corruption.



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




-- 
D. Richard Hipp
d...@sqlite.org
___
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] cannot commit 'manifest file (1816) is malformed'

2012-06-29 Thread Jacek Cała
d:\...\MainSolutionfossil test-agg-cksum
disk: 9b15edd8f59e6d06f24779627eb5d751
archive:  ef042e223a29de7097b5bac505295812
manifest: 064345fe886bffeb23131fcc0ac5a5d5
recorded: 064345fe886bffeb23131fcc0ac5a5d5

Hardly readable for me :-) but no errors.

  Cheers,
  Jacek

2012/6/29 Stephan Beal sgb...@googlemail.com:
 On Fri, Jun 29, 2012 at 11:33 AM, Jacek Cała jacek.c...@gmail.com wrote:

  fossil.exe: manifest file (1816) is malformed.

 What does this mean? Is there any chance to fix the repo? My fossil
 version is 1.22.


 That's a new one. :/

 Can you please try:

 fossil test-agg-cksum

 just to make sure that the basic checks for that function work?

 --
 - stephan beal
 http://wanderinghorse.net/home/stephan/
 http://gplus.to/sgbeal


 ___
 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] cannot commit 'manifest file (1816) is malformed'

2012-06-29 Thread Jacek Cała
2012/6/29 Richard Hipp d...@sqlite.org:

 It means there is a bug in Fossil.  ...

 Note that the changes to the repository happen inside a transaction.  ...
 ... This is one of the big advantages of using a transactional database engine
 as the repository, rather than a pile-of-files as in other VCSes - bugs are
 annoying but do not cause repository corruption.


And this is also the thing why I like fossil even more!

  Thanks,
  Jacek
___
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] cannot commit 'manifest file (1816) is malformed'

2012-06-29 Thread Richard Hipp
On Fri, Jun 29, 2012 at 5:33 AM, Jacek Cała jacek.c...@gmail.com wrote:

  Hi,

 I've been doing some code maintenance (lots of deletes, renames, adds)
 and now cannot do commit. Every commit attempt causes:

  fossil.exe: manifest file (1816) is malformed.

 What does this mean? Is there any chance to fix the repo? My fossil
 version is 1.22.


I have traced this problem to a bug in Fossil's manifest generator which
causes rows of the manifest to be created out of order if you have done a
fossil mv but then do a fossil commit FILENAME... where the renamed
files are not being committed.  Working on a fix now...





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




-- 
D. Richard Hipp
d...@sqlite.org
___
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] cannot commit 'manifest file (1816) is malformed'

2012-06-29 Thread Jacek Cała
Thank you for the prompt action. Please keep me/the list informed
about the patch.

Maybe it is also worth considering the case when a file has just been
added to the repo (no commit) and then mv is issued from a MISSING to
the ADDED file. I wrote about it a couple of days ago:
http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg08936.html

  Best regards,
  Jacek

2012/6/29 Richard Hipp d...@sqlite.org:


 On Fri, Jun 29, 2012 at 5:33 AM, Jacek Cała jacek.c...@gmail.com wrote:

  Hi,

 I've been doing some code maintenance (lots of deletes, renames, adds)
 and now cannot do commit. Every commit attempt causes:

  fossil.exe: manifest file (1816) is malformed.

 What does this mean? Is there any chance to fix the repo? My fossil
 version is 1.22.


 I have traced this problem to a bug in Fossil's manifest generator which
 causes rows of the manifest to be created out of order if you have done a
 fossil mv but then do a fossil commit FILENAME... where the renamed
 files are not being committed.  Working on a fix now...





  Jacek

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




 --
 D. Richard Hipp
 d...@sqlite.org

 ___
 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] cannot commit 'manifest file (1816) is malformed'

2012-06-29 Thread Richard Hipp
On Fri, Jun 29, 2012 at 8:36 AM, Jacek Cała jacek.c...@gmail.com wrote:

 Thank you for the prompt action. Please keep me/the list informed
 about the patch.


Please try the latest trunk
versionhttp://www.fossil-scm.org/fossil/info/01e4de6b8aof Fossil.  I
believe it has fixed your issue and should be working for you
now.



 Maybe it is also worth considering the case when a file has just been
 added to the repo (no commit) and then mv is issued from a MISSING to
 the ADDED file. I wrote about it a couple of days ago:
 http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg08936.html

  Best regards,
  Jacek

 2012/6/29 Richard Hipp d...@sqlite.org:
 
 
  On Fri, Jun 29, 2012 at 5:33 AM, Jacek Cała jacek.c...@gmail.com
 wrote:
 
   Hi,
 
  I've been doing some code maintenance (lots of deletes, renames, adds)
  and now cannot do commit. Every commit attempt causes:
 
   fossil.exe: manifest file (1816) is malformed.
 
  What does this mean? Is there any chance to fix the repo? My fossil
  version is 1.22.
 
 
  I have traced this problem to a bug in Fossil's manifest generator which
  causes rows of the manifest to be created out of order if you have done a
  fossil mv but then do a fossil commit FILENAME... where the renamed
  files are not being committed.  Working on a fix now...
 
 
 
 
 
   Jacek
 
  ___
  fossil-users mailing list
  fossil-users@lists.fossil-scm.org
  http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
 
 
 
 
  --
  D. Richard Hipp
  d...@sqlite.org
 
  ___
  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




-- 
D. Richard Hipp
d...@sqlite.org
___
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] cannot commit 'manifest file (1816) is malformed'

2012-06-29 Thread Jacek Cała
Yes, the commit went fine. Thank you again!

  Jacek

2012/6/29 Richard Hipp d...@sqlite.org:


 On Fri, Jun 29, 2012 at 8:36 AM, Jacek Cała jacek.c...@gmail.com wrote:

 Thank you for the prompt action. Please keep me/the list informed
 about the patch.


 Please try the latest trunk version of Fossil.  I believe it has fixed your
 issue and should be working for you now.



 Maybe it is also worth considering the case when a file has just been
 added to the repo (no commit) and then mv is issued from a MISSING to
 the ADDED file. I wrote about it a couple of days ago:

 http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg08936.html

  Best regards,
  Jacek

 2012/6/29 Richard Hipp d...@sqlite.org:
 
 
  On Fri, Jun 29, 2012 at 5:33 AM, Jacek Cała jacek.c...@gmail.com
  wrote:
 
   Hi,
 
  I've been doing some code maintenance (lots of deletes, renames, adds)
  and now cannot do commit. Every commit attempt causes:
 
   fossil.exe: manifest file (1816) is malformed.
 
  What does this mean? Is there any chance to fix the repo? My fossil
  version is 1.22.
 
 
  I have traced this problem to a bug in Fossil's manifest generator which
  causes rows of the manifest to be created out of order if you have done
  a
  fossil mv but then do a fossil commit FILENAME... where the renamed
  files are not being committed.  Working on a fix now...
 
 
 
 
 
   Jacek
 
  ___
  fossil-users mailing list
  fossil-users@lists.fossil-scm.org
  http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
 
 
 
 
  --
  D. Richard Hipp
  d...@sqlite.org
 
  ___
  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




 --
 D. Richard Hipp
 d...@sqlite.org

 ___
 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] clang-analyzer results (unchecked setgid/setuid returns)

2012-06-29 Thread John Nowak

Hopefully some Fossil developer finds this useful:
http://heap.johnnowak.com/2012/06/29/scan-build-2012-06-29-1/

Mostly dead stores, but it seems that the return values of
'setgid' and 'setuid' are not checked at src/main.c:1137.

All of the problems seem easily correctable.

- jn
___
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] clang-analyzer results (unchecked setgid/setuid returns)

2012-06-29 Thread Stephan Beal
On Fri, Jun 29, 2012 at 10:49 PM, John Nowak j...@johnnowak.com wrote:

 Hopefully some Fossil developer finds this useful:
 http://heap.johnnowak.com/**2012/06/29/scan-build-2012-06-**29-1/http://heap.johnnowak.com/2012/06/29/scan-build-2012-06-29-1/

 Mostly dead stores, but it seems that the return values of
 'setgid' and 'setuid' are not checked at src/main.c:1137.


Thanks. i've patched this locally, but before i commit it: can someone
confirm that errno.h is available on Windows?

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
___
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] clang-analyzer results (unchecked setgid/setuid returns)

2012-06-29 Thread Stephan Beal
On Fri, Jun 29, 2012 at 11:12 PM, Stephan Beal sgb...@googlemail.comwrote:

 Thanks. i've patched this locally, but before i commit it: can someone
 confirm that errno.h is available on Windows?


Sorry, dumb question: that code is in a !-def win32 block.

@Richard: umm

[stephan@host:~/cvs/fossil/fossil]$ f com -m 'Added check of rc for
setgid/setuid() calls.' src/main.c
Autosync:  http://step...@fossil-scm.org
...
New_Version: 23f8755edfd0d625f1d816b2f28e8f7ef05163c9
f: manifest file (16284) is malformed


:-? i tried a rebuild.

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
___
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] clang-analyzer results (unchecked setgid/setuid returns)

2012-06-29 Thread Andreas Kupries

On 6/29/2012 1:49 PM, John Nowak wrote:

Hopefully some Fossil developer finds this useful:
http://heap.johnnowak.com/2012/06/29/scan-build-2012-06-29-1/


How complicated is the generation of such a report ?
(Are scripts for this available ?)

--
Andreas Kupries
Senior Tcl Developer
Code to Cloud: Smarter, Safer, Faster™
P: 778.786.1122
F: 778.786.1133
andre...@activestate.com
http://www.activestate.com
Learn about Stackato for Private PaaS: http://www.activestate.com/stackato

http://www.eurotcl.tcl3d.org/ - EuroTcl 2012, July 7-8 , Munich, Germany.
http://www.tcl.tk/community/tcl2012/ - Tcl'2012, Nov 12-16, Chicago, IL, USA.


___
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] clang-analyzer results (unchecked setgid/setuid returns)

2012-06-29 Thread Richard Hipp
On Fri, Jun 29, 2012 at 5:29 PM, Andreas Kupries
andre...@activestate.comwrote:

 On 6/29/2012 1:49 PM, John Nowak wrote:

 Hopefully some Fossil developer finds this useful:
 http://heap.johnnowak.com/**2012/06/29/scan-build-2012-06-**29-1/http://heap.johnnowak.com/2012/06/29/scan-build-2012-06-29-1/


 How complicated is the generation of such a report ?
 (Are scripts for this available ?)


Here is the script we used to run clang against SQLite:

http://www.sqlite.org/src/artifact/f6aa929dc20ef1f856af04a730772f59283631d4



 --
 Andreas Kupries
 Senior Tcl Developer
 Code to Cloud: Smarter, Safer, Faster™
 P: 778.786.1122
 F: 778.786.1133
 andre...@activestate.com
 http://www.activestate.com
 Learn about Stackato for Private PaaS: http://www.activestate.com/**
 stackato http://www.activestate.com/stackato

 http://www.eurotcl.tcl3d.org/ - EuroTcl 2012, July 7-8 , Munich,
 Germany.
 http://www.tcl.tk/community/**tcl2012/http://www.tcl.tk/community/tcl2012/- 
 Tcl'2012, Nov 12-16, Chicago, IL, USA.



 __**_
 fossil-users mailing list
 fossil-users@lists.fossil-scm.**org fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:**8080/cgi-bin/mailman/listinfo/**fossil-usershttp://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users




-- 
D. Richard Hipp
d...@sqlite.org
___
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] clang-analyzer results (unchecked setgid/setuid returns)

2012-06-29 Thread Stephan Beal
On Fri, Jun 29, 2012 at 11:19 PM, Stephan Beal sgb...@googlemail.comwrote:

 [stephan@host:~/cvs/fossil/fossil]$ f com -m 'Added check of rc for
 setgid/setuid() calls.' src/main.c
 Autosync:  http://step...@fossil-scm.org


Here you go, John:

http://www.fossil-scm.org/index.html/info/4d107b597a

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
___
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] clang-analyzer results (unchecked setgid/setuid returns)

2012-06-29 Thread Stephan Beal
On Fri, Jun 29, 2012 at 11:32 PM, Stephan Beal sgb...@googlemail.comwrote:

 Here you go, John:

 http://www.fossil-scm.org/index.html/info/4d107b597a


OH, the irony!!! Don't use this yet - today's manifest change broke the
trunk and i had to back-rev a day to be able to commit that. Richard is
aware of the problem.

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] enhancement request

2012-06-29 Thread Justin Gedge
The timeline in the fossil ui [web page] is already very useful.  It would
be really slick if it could draw dotted lines/dashed arrows to show cherry
picking of deltas from various branches.

-jmg
___
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] Build error in VS 2008 with JSON enabled

2012-06-29 Thread Stephan Beal
Hiho,

Could i convince one of the Windows users to try out this patch for the
Windows Makefile?

On Fri, Jun 22, 2012 at 3:01 PM, Stephan Beal sgb...@googlemail.com wrote:

 Hi again, Alexander!

 i have added your change to the build scripts, but i cannot personally
 test it, which means that my commit is quite risky, so i have put it in my
 own branch:

 http://fossil-scm.org/index.html/info/0918d1f04a?sbs=0
 (sbs diff truncates some of the diff)


 Please try this out (that goes for any MSC user!) and let me know if it
 breaks/works. If it's okay then i'll push that to the trunk.

 Thank you again for your help!



-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
___
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] clang-analyzer results (unchecked setgid/setuid returns)

2012-06-29 Thread John Nowak

On 06/29/2012 05:29 PM, Andreas Kupries wrote:


On 6/29/2012 1:49 PM, John Nowak wrote:



Hopefully some Fossil developer finds this useful:
http://heap.johnnowak.com/2012/06/29/scan-build-2012-06-29-1/


How complicated is the generation of such a report ?
(Are scripts for this available ?)


I did only the following:

  scan-build ./configure
  scan-build make

The reports will be dumped in /tmp by default.

You do need to remember to run it for 'configure' otherwise you'll
end up with no results for 'make'. You'll also want to do a 'make
clean' beforehand if that wasn't obvious.

Some tips on using scan-build are available here:
http://clang-analyzer.llvm.org/scan-build.html

- jn
___
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] clang-analyzer results (unchecked setgid/setuid returns)

2012-06-29 Thread Andreas Kupries

On 6/29/2012 3:01 PM, John Nowak wrote:

I did only the following:

   scan-build ./configure
   scan-build make

The reports will be dumped in /tmp by default.

You do need to remember to run it for 'configure' otherwise you'll
end up with no results for 'make'. You'll also want to do a 'make
clean' beforehand if that wasn't obvious.

Some tips on using scan-build are available here:
http://clang-analyzer.llvm.org/scan-build.html


Thanks.

--
Andreas Kupries
Senior Tcl Developer
Code to Cloud: Smarter, Safer, Faster™
P: 778.786.1122
F: 778.786.1133
andre...@activestate.com
http://www.activestate.com
Learn about Stackato for Private PaaS: http://www.activestate.com/stackato

http://www.eurotcl.tcl3d.org/ - EuroTcl 2012, July 7-8 , Munich, Germany.
http://www.tcl.tk/community/tcl2012/ - Tcl'2012, Nov 12-16, Chicago, IL, USA.


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


[fossil-users] [1.22/newbie] Add files with specific extension?

2012-06-29 Thread Gilles
Hello

I'd like to add files that have a given extension, eg.

C:\fossil add C:\Projects\*.xyz

Apparently, Fossil will add all the files in a given directory, unless
we add the --ignore switch.

Is there really no way to simply specify the extension we want to
include?

Thank you.

___
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] [1.22/newbie] Add files with specific extension?

2012-06-29 Thread Stephan Beal
On Sat, Jun 30, 2012 at 1:18 AM, Gilles gilles.gana...@free.fr wrote:

 C:\fossil add C:\Projects\*.xyz

 Apparently, Fossil will add all the files in a given directory, unless
 we add the --ignore switch.

 Is there really no way to simply specify the extension we want to
 include?



i don't know about Windows, but on *nix:

fossil add foo.*

works just fine.

Can you try without the quotes, just for kicks?

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
___
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] [1.22/newbie] Add files with specific extension?

2012-06-29 Thread Gilles
On Sat, 30 Jun 2012 01:19:38 +0200, Stephan Beal
sgb...@googlemail.com wrote:
fossil add foo.*

works just fine.

Can you try without the quotes, just for kicks?

Thanks, it does work on Windows too.

Based on the online infos, I was under the (wrong) impression that
Fossil would add all the files in a given directory unless told to
ignore specific extensions through the --ignore switch.

This works fine:
==
C:\Projectsfossil add *.bas
ADDED  Dummy/File1.bas
ADDED  Dummy/File2.bas
==
C:\Projectsfossil  status
...
ADDED  File1.bas
ADDED  File2.bas
==

Thank you.

___
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] [1.22/newbie] Add files with specific extension?

2012-06-29 Thread Richard Hipp
On Fri, Jun 29, 2012 at 7:19 PM, Stephan Beal sgb...@googlemail.com wrote:

 On Sat, Jun 30, 2012 at 1:18 AM, Gilles gilles.gana...@free.fr wrote:

 C:\fossil add C:\Projects\*.xyz

 Apparently, Fossil will add all the files in a given directory, unless
 we add the --ignore switch.

 Is there really no way to simply specify the extension we want to
 include?



 i don't know about Windows, but on *nix:

 fossil add foo.*

 works just fine.

 Can you try without the quotes, just for kicks?'


I'm guessing that won't work, as it is the shell that does wildcard
expansion in unix, but applications are all expected to do their own
wildcarding in windows.  And fossil.exe doesn't.

Maybe there is another shell available for windows (other than CMD.EXE)
that will do wildcarding.  Anybody know?



 --
 - stephan beal
 http://wanderinghorse.net/home/stephan/
 http://gplus.to/sgbeal


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




-- 
D. Richard Hipp
d...@sqlite.org
___
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] [1.22/newbie] Add files with specific extension?

2012-06-29 Thread Stephan Beal
On Sat, Jun 30, 2012 at 1:33 AM, Richard Hipp d...@sqlite.org wrote:

 Maybe there is another shell available for windows (other than CMD.EXE)
 that will do wildcarding.  Anybody know?


It looks like his shell does, but there might be minor annoyances with
spaces (which must be escaped with \ instead of quotes, i surmise).

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
___
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] [1.22/newbie] Add files with specific extension?

2012-06-29 Thread Gilles
On Sat, 30 Jun 2012 01:48:29 +0200, Stephan Beal
sgb...@googlemail.com wrote:
It looks like his shell does, but there might be minor annoyances with
spaces (which must be escaped with \ instead of quotes, i surmise).

Right. I'll make it a habit to always quote the full path when adding
files to the repo.

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