[fossil-users] fossil diff -tk

2017-03-15 Thread Rolf Ade

Didn't the short cut "q" quit the `fossil diff -tk` graphical diff
application, for good, since a while, I wondered, this days. Turns out,
that in fact it was there, after initial it wasn't, but was disabled
with http://fossil-scm.org/index.html/info/f6d9583173cbd6d2

The patch below use one way to fix the problem with q (etc) keystrokes
in search not meaning the plea to quit the app while preserveing the
handy keyboard short cuts outside of this.

I've added also an  binding to the serach entry to be able to
leave the search without using the mouse, but that is minor. Just give
us the "q" short cut key back, please.

Index: src/diff.tcl
==
--- src/diff.tcl
+++ src/diff.tcl
@@ -227,18 +227,17 @@
 }
 
 wm withdraw .
 wm title . $CFG(TITLE)
 wm iconname . $CFG(TITLE)
-# Keystroke bindings for on the top-level window for navigation and
-# control also fire when those same keystrokes are pressed in the
-# Search entry box.  Disable them, to prevent the diff screen from
-# disappearing abruptly and unexpectedly when searching for "q".
+# Top-level window keystroke bindings for navigation and control.
+# Prevent them to also fire when those same keystrokes are pressed in
+# the search entry box.
 #
-# bind .  exit
-# bind .  {catch searchPrev; break}
-# bind .  {catch searchNext; break}
+bind .  {if {"%W" ne ".bb.sframe.e"} exit}
+bind .  {if {"%W" ne ".bb.sframe.e"} {catch searchPrev; break}}
+bind .  {if {"%W" ne ".bb.sframe.e"} {catch searchNext; break}}
 # bind .  exit
 bind .  {after 0 exit}
 bind .  {cycleDiffs; break}
 bind . <> {cycleDiffs 1; break}
 bind .  {searchOnOff; break}
@@ -400,10 +399,11 @@
   } else {
 set ::search .txtA
 if {![winfo exists .bb.sframe]} {
   frame .bb.sframe
   ::ttk::entry .bb.sframe.e -width 10
+  bind .bb.sframe.e  {searchOnOff; focus .bb.search}
   pack .bb.sframe.e -side left -fill y -expand 1
   bind .bb.sframe.e  {searchNext; break}
   ::ttk::button .bb.sframe.nx -text \u2193 -width 1 -command searchNext
   ::ttk::button .bb.sframe.pv -text \u2191 -width 1 -command searchPrev
   tk_optionMenu .bb.sframe.typ ::search_type \




___
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 can not import its own git export

2017-03-15 Thread Jan Nijtmans
2017-03-15 14:08 GMT+01:00 Jan Nijtmans:
> Please report those things on the SQLite mailing list,
> so it can be properly reviewed and applied upstream.

 of course, this should be Fossil mailing list ...

Regards,
   Jan Nijtmans
___
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 can not import its own git export

2017-03-15 Thread Jan Nijtmans
2017-03-10 23:41 GMT+01:00 Martin Gagnon:

> It seems to be a problem with a weird filename (with a newline in it),
> added in this checkin:
>   http://fossil-scm.org/index.html/info/ac1af2306b70c537

> I have no clue how to fix that.

Looks like Debian has a fix for that:


Osamu Aoki's (the patch author) remark:
> These codes are BSD-2-Clause licensed and I agree to copyright
> assignment to Hipp, Wyrick & Company, Inc. to any patches submitted to
> this ML.
>
> Please review and consider.

@osamu: Please report those things on the SQLite mailing list,
so it can be properly reviewed and applied upstream.

Regards,
 Jan Nijtmans
___
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] Non empty directories

2017-03-15 Thread Pietro Cerutti
On 2017-Mar-15, 21:57, Dan Raymond wrote:
[-- Type: text/plain; charset=UTF-8, Encoding: 7bit, Size: 2.0K --]
> Martin/Pietro
> 
> Seems error/design is as follows:
> 
> 
> If I create  directories in a folder tree BEFORE i do an open of the
> repository in that file tree; directories are ignored on the  addremove
> command even if non-empty, root files are okay and are picked up.
> 
> If I open an empty repository FIRST in the root then add new folders (and
> file content in them) in that root tree then all works as advertised for
> all sub directories
> 
> I thought I could create a code/directory structure first then OPEN the
> empty repository in the root and do an addremove to do the first check in
> based on the files already on the tree. This only works for the root not
> the sub folders, they are ignored! Pity makes it hard to turn existing tree
> into initial repository content which I assumed.

I cannot reproduce: http://pastebin.com/Hf4jAaSm

-- 
Pietro Cerutti
g...@gahr.ch


signature.asc
Description: PGP signature
___
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] Non empty directories

2017-03-15 Thread Kees Nuyt
[Default] On Wed, 15 Mar 2017 20:12:03 +1000, Dan Raymond
 wrote:

> add NEWDIR works but means I have to explicitly type all the new
> directories???
>
> Is there not a better way for new sub directories in the code (I am using
> fossil to develop manuals so sub folders get added often, even empty ones!!)

Perhaps:
fossil add $(fossil extra)

-- 
Regards,

Kees Nuyt

___
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] Non empty directories

2017-03-15 Thread Dan Raymond
Martin/Pietro

Seems error/design is as follows:


If I create  directories in a folder tree BEFORE i do an open of the
repository in that file tree; directories are ignored on the  addremove
command even if non-empty, root files are okay and are picked up.

If I open an empty repository FIRST in the root then add new folders (and
file content in them) in that root tree then all works as advertised for
all sub directories

I thought I could create a code/directory structure first then OPEN the
empty repository in the root and do an addremove to do the first check in
based on the files already on the tree. This only works for the root not
the sub folders, they are ignored! Pity makes it hard to turn existing tree
into initial repository content which I assumed.

Thanks for help

Dan

Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia
Mail:   PO Box 7815 Waterfront Place, Brisbane 4001
Tel:+61 733 600 255
Mob:  +61 400 551 920
Fax:   +61 733 600 222
Web:  http://ecourban.com.au

On Wed, Mar 15, 2017 at 9:13 PM, Martin Gagnon  wrote:

> On Wed, Mar 15, 2017 at 09:05:28PM +1000, Dan Raymond wrote:
> > Think I understand:
> >
> > If a Folder is empty no add of folder (not sure why the "Character"
> folder
> > wouldn't add when it was not empty). subsequent trials worked as supposed
> > to.
> >
> > So not sure what issue was. will play around more to see if I can
> replicate
> > before committing to a real world scenario.
> >
> > Is there any way to force adding empty directories??
>
> No, fossil don't store directories, they are treated like a part of the
> "full-name" of a file, they don't exist by themself inside a repository.
>
> May be this discussion will interest you:
>   http://www.mail-archive.com/fossil-users@lists.fossil-scm.
> org/msg23675.html
>
>
> Reards,
>
> --
> Martin G.
> ___
> 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] Non empty directories

2017-03-15 Thread Martin Gagnon
On Wed, Mar 15, 2017 at 09:05:28PM +1000, Dan Raymond wrote:
> Think I understand:
> 
> If a Folder is empty no add of folder (not sure why the "Character" folder
> wouldn't add when it was not empty). subsequent trials worked as supposed
> to.
> 
> So not sure what issue was. will play around more to see if I can replicate
> before committing to a real world scenario.
> 
> Is there any way to force adding empty directories??

No, fossil don't store directories, they are treated like a part of the
"full-name" of a file, they don't exist by themself inside a repository.

May be this discussion will interest you:
  http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg23675.html


Reards,

-- 
Martin G.
___
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] Non empty directories

2017-03-15 Thread Dan Raymond
Think I understand:

If a Folder is empty no add of folder (not sure why the "Character" folder
wouldn't add when it was not empty). subsequent trials worked as supposed
to.

So not sure what issue was. will play around more to see if I can replicate
before committing to a real world scenario.

Is there any way to force adding empty directories??

Thanks

Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia
Mail:   PO Box 7815 Waterfront Place, Brisbane 4001
Tel:+61 733 600 255
Mob:  +61 400 551 920
Fax:   +61 733 600 222
Web:  http://ecourban.com.au

On Wed, Mar 15, 2017 at 8:58 PM, Pietro Cerutti  wrote:

> On 2017-Mar-15, 20:56, Dan Raymond wrote:
> [-- Type: text/plain; charset=UTF-8, Encoding: quoted-printable, Size:
> 5.0K --]
> > dan@linux-dg65:~/Documents/Fossil/test1> ls
> > Characters  file1.txt  mytest2.txt  mytest3.txt  mytest4.txt  Plots
> > sandwiches.txt
> > dan@linux-dg65:~/Documents/Fossil/test1> mkdir Folder1
> > dan@linux-dg65:~/Documents/Fossil/test1> ls
> > Characters  file1.txt  Folder1  mytest2.txt  mytest3.txt  mytest4.txt
> > Plots  sandwiches.txt
> > dan@linux-dg65:~/Documents/Fossil/test1> ../fossil addrem
> > added 0 files, deleted 0 files
> > dan@linux-dg65:~/Documents/Fossil/test1> cd Plots
> >
> > dan@linux-dg65:~/Documents/Fossil/test1/Plots> touch newplot.txt
> > dan@linux-dg65:~/Documents/Fossil/test1/Plots> ls
> > newplot.txt
> > dan@linux-dg65:~/Documents/Fossil/test1/Plots> cd ..
> > dan@linux-dg65:~/Documents/Fossil/test1> ../fossil addrem
> > ADDED  Plots/newplot.txt
> > added 1 files, deleted 0 files
> > dan@linux-dg65:~/Documents/Fossil/test1> cd Characters
> > dan@linux-dg65:~/Documents/Fossil/test1/Characters> ls
> > jones.txt
> > dan@linux-dg65:~/Documents/Fossil/test1/Characters> touch rambo.txt
> > dan@linux-dg65:~/Documents/Fossil/test1/Characters> ls
> > jones.txt  rambo.txt
> > dan@linux-dg65:~/Documents/Fossil/test1/Characters> cd ..
> > dan@linux-dg65:~/Documents/Fossil/test1> ../fossil addrem
> > ADDED  Characters/rambo.txt
> > added 1 files, deleted 0 files
> >
> > dan@linux-dg65:~/Documents/Fossil/test1> ../fossil commit -m test5
> >
> > Autosync:  http://danraymond.org:8082/mytestbase
> > Round-trips: 1   Artifacts sent: 0  received: 0
> > *** time skew *** server is slow by 36.5 seconds
> > Pull done, sent: 322  received: 1040  ip: 101.0.110.118
> > continue in spite of time skew (y/N)? y
> > New_Version:
> > da0d8134eb012eab2a1bd529d85ce4271185d4b6fe70b759562d1d192f83ebe3
> > Autosync:  http://danraymond.org:8082/mytestbase
> > Round-trips: 1   Artifacts sent: 2  received: 0
> > *** time skew *** server is slow by 36.8 seconds
> > Sync done, sent: 1362  received: 1115  ip: 101.0.110.118
> > dan@linux-dg65:~/Documents/Fossil/test1>
> >
> >
> > IT did not pick up Folder1!
>
> There's nothing in Folder1.
>
> --
> Pietro Cerutti
> g...@gahr.ch
>
> ___
> 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] Non empty directories

2017-03-15 Thread Pietro Cerutti
On 2017-Mar-15, 20:56, Dan Raymond wrote:
[-- Type: text/plain; charset=UTF-8, Encoding: quoted-printable, Size: 5.0K --]
> dan@linux-dg65:~/Documents/Fossil/test1> ls
> Characters  file1.txt  mytest2.txt  mytest3.txt  mytest4.txt  Plots
> sandwiches.txt
> dan@linux-dg65:~/Documents/Fossil/test1> mkdir Folder1
> dan@linux-dg65:~/Documents/Fossil/test1> ls
> Characters  file1.txt  Folder1  mytest2.txt  mytest3.txt  mytest4.txt
> Plots  sandwiches.txt
> dan@linux-dg65:~/Documents/Fossil/test1> ../fossil addrem
> added 0 files, deleted 0 files
> dan@linux-dg65:~/Documents/Fossil/test1> cd Plots
> 
> dan@linux-dg65:~/Documents/Fossil/test1/Plots> touch newplot.txt
> dan@linux-dg65:~/Documents/Fossil/test1/Plots> ls
> newplot.txt
> dan@linux-dg65:~/Documents/Fossil/test1/Plots> cd ..
> dan@linux-dg65:~/Documents/Fossil/test1> ../fossil addrem
> ADDED  Plots/newplot.txt
> added 1 files, deleted 0 files
> dan@linux-dg65:~/Documents/Fossil/test1> cd Characters
> dan@linux-dg65:~/Documents/Fossil/test1/Characters> ls
> jones.txt
> dan@linux-dg65:~/Documents/Fossil/test1/Characters> touch rambo.txt
> dan@linux-dg65:~/Documents/Fossil/test1/Characters> ls
> jones.txt  rambo.txt
> dan@linux-dg65:~/Documents/Fossil/test1/Characters> cd ..
> dan@linux-dg65:~/Documents/Fossil/test1> ../fossil addrem
> ADDED  Characters/rambo.txt
> added 1 files, deleted 0 files
> 
> dan@linux-dg65:~/Documents/Fossil/test1> ../fossil commit -m test5
> 
> Autosync:  http://danraymond.org:8082/mytestbase
> Round-trips: 1   Artifacts sent: 0  received: 0
> *** time skew *** server is slow by 36.5 seconds
> Pull done, sent: 322  received: 1040  ip: 101.0.110.118
> continue in spite of time skew (y/N)? y
> New_Version:
> da0d8134eb012eab2a1bd529d85ce4271185d4b6fe70b759562d1d192f83ebe3
> Autosync:  http://danraymond.org:8082/mytestbase
> Round-trips: 1   Artifacts sent: 2  received: 0
> *** time skew *** server is slow by 36.8 seconds
> Sync done, sent: 1362  received: 1115  ip: 101.0.110.118
> dan@linux-dg65:~/Documents/Fossil/test1>
> 
> 
> IT did not pick up Folder1!

There's nothing in Folder1.

-- 
Pietro Cerutti
g...@gahr.ch


signature.asc
Description: PGP signature
___
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] Non empty directories

2017-03-15 Thread Dan Raymond
dan@linux-dg65:~/Documents/Fossil/test1> ls
Characters  file1.txt  mytest2.txt  mytest3.txt  mytest4.txt  Plots
sandwiches.txt
dan@linux-dg65:~/Documents/Fossil/test1> mkdir Folder1
dan@linux-dg65:~/Documents/Fossil/test1> ls
Characters  file1.txt  Folder1  mytest2.txt  mytest3.txt  mytest4.txt
Plots  sandwiches.txt
dan@linux-dg65:~/Documents/Fossil/test1> ../fossil addrem
added 0 files, deleted 0 files
dan@linux-dg65:~/Documents/Fossil/test1> cd Plots

dan@linux-dg65:~/Documents/Fossil/test1/Plots> touch newplot.txt
dan@linux-dg65:~/Documents/Fossil/test1/Plots> ls
newplot.txt
dan@linux-dg65:~/Documents/Fossil/test1/Plots> cd ..
dan@linux-dg65:~/Documents/Fossil/test1> ../fossil addrem
ADDED  Plots/newplot.txt
added 1 files, deleted 0 files
dan@linux-dg65:~/Documents/Fossil/test1> cd Characters
dan@linux-dg65:~/Documents/Fossil/test1/Characters> ls
jones.txt
dan@linux-dg65:~/Documents/Fossil/test1/Characters> touch rambo.txt
dan@linux-dg65:~/Documents/Fossil/test1/Characters> ls
jones.txt  rambo.txt
dan@linux-dg65:~/Documents/Fossil/test1/Characters> cd ..
dan@linux-dg65:~/Documents/Fossil/test1> ../fossil addrem
ADDED  Characters/rambo.txt
added 1 files, deleted 0 files

dan@linux-dg65:~/Documents/Fossil/test1> ../fossil commit -m test5

Autosync:  http://danraymond.org:8082/mytestbase
Round-trips: 1   Artifacts sent: 0  received: 0
*** time skew *** server is slow by 36.5 seconds
Pull done, sent: 322  received: 1040  ip: 101.0.110.118
continue in spite of time skew (y/N)? y
New_Version:
da0d8134eb012eab2a1bd529d85ce4271185d4b6fe70b759562d1d192f83ebe3
Autosync:  http://danraymond.org:8082/mytestbase
Round-trips: 1   Artifacts sent: 2  received: 0
*** time skew *** server is slow by 36.8 seconds
Sync done, sent: 1362  received: 1115  ip: 101.0.110.118
dan@linux-dg65:~/Documents/Fossil/test1>


IT did not pick up Folder1!

Dan

Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia
Mail:   PO Box 7815 Waterfront Place, Brisbane 4001
Tel:+61 733 600 255
Mob:  +61 400 551 920
Fax:   +61 733 600 222
Web:  http://ecourban.com.au

On Wed, Mar 15, 2017 at 8:33 PM,  wrote:

> Dan, if I've understood correctly, 'fossil addremove' should do what you
> want. Here's an example from a freshly created repo (fossil 2.1) with no
> files currently added:
>
> http://pastebin.com/9TzyXbd6
>
> Can you post a similar output to show what you're observing?
>
>
>
> On Wed, Mar 15, 2017, at 09:24 PM, Dan Raymond wrote:
>
> Martin,
> No they are normal names no dots.
> Dan
>
>
> Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia
> Mail:   PO Box 7815 Waterfront Place, Brisbane 4001
> Tel:+61 733 600 255
> Mob:  +61 400 551 920
> Fax:   +61 733 600 222
> Web:  http://ecourban.com.au
>
>
> On Wed, Mar 15, 2017 at 8:13 PM, Martin Gagnon  wrote:
>
> Does the directory name start with a dot ? The dot files (and dot
> directories) are ignored by default. So you can try:
>
>   fossil add --dotfiles .
>
>
>
> --
> Martin G.
>
>
> Le mer. 15 mars 2017 à 06:06, Dan Raymond  a écrit :
>
> Pietro,
> addremove Doesn't do it (version 2.10)
>
> add command doesn't pick up the folder even though there is a new file in
> it!
>
> AH!
>
> Dan
>
>
> Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia
> Mail:   PO Box 7815 Waterfront Place, Brisbane 4001
> Tel:+61 733 600 255
> Mob:  +61 400 551 920
> Fax:   +61 733 600 222
> Web:  http://ecourban.com.au
>
>
> On Wed, Mar 15, 2017 at 7:17 PM, Pietro Cerutti  wrote:
>
> On 2017-Mar-15, 19:03, Dan Raymond wrote:
> [-- Type: text/plain; charset=UTF-8, Encoding: 7bit, Size: 0.6K --]
> > How can I get the fossil add command to add new directories under the
> root
> > checkout when they have new files in them. I understand fossil doesn't
> > notice new empty directories when you use the add command, but these also
> > have new files.
> >
> > The fossil  add only adds files in the _FOSSIL_ directory. If I create
> new
> > folders below this with files in them they and their files are not added?
> >
> > What to do?
>
> fossil addremove?
>
> --
> Pietro Cerutti
> g...@gahr.ch
> ___
> 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 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] Non empty directories

2017-03-15 Thread rosscanning
Dan, if I've understood correctly, 'fossil addremove' should do what you
want. Here's an example from a freshly created repo (fossil 2.1) with no
files currently added:


http://pastebin.com/9TzyXbd6



Can you post a similar output to show what you're observing?







On Wed, Mar 15, 2017, at 09:24 PM, Dan Raymond wrote:

> Martin,

> No they are normal names no dots.

> Dan

> 

>  

> Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia
> Mail:   PO Box 7815 Waterfront Place, Brisbane 4001

> Tel:+61 733 600 255

> Mob:  +61 400 551 920[1]

> Fax:   +61 733 600 222

> Web:  http://ecourban.com.au[2]

> 

> 

> On Wed, Mar 15, 2017 at 8:13 PM, Martin Gagnon
>  wrote:
>> Does the directory name start with a dot ? The dot files (and dot
>> directories) are ignored by default. So you can try:
>>  

>>   fossil add --dotfiles .

>> 

>> 

>> 

>> -- 

>> Martin G.

>> 

>> 

>> Le mer. 15 mars 2017 à 06:06, Dan Raymond  a
>> écrit :
>>> Pietro,

>>> addremove Doesn't do it (version 2.10)

>>> 

>>> add command doesn't pick up the folder even though there is a new
>>> file in it!
>>> 

>>> AH!

>>> 

>>> Dan

>>> 

>>>  

>>> Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000
>>> Australia
>>> Mail:   PO Box 7815 Waterfront Place, Brisbane 4001

>>> Tel:+61 733 600 255

>>> Mob:  +61 400 551 920[3]

>>> Fax:   +61 733 600 222

>>> Web:  http://ecourban.com.au[4]

>>> 

>>> 

>>> On Wed, Mar 15, 2017 at 7:17 PM, Pietro Cerutti 
>>> wrote:
 On 2017-Mar-15, 19:03, Dan Raymond wrote:

  [-- Type: text/plain; charset=UTF-8, Encoding: 7bit, Size:
  0.6K --]
 > How can I get the fossil add command to add new directories under
 > the root
  > checkout when they have new files in them. I understand fossil
  > doesn't notice new empty directories when you use the add
  > command, but these also have new files.
  >
  > The fossil  add only adds files in the _FOSSIL_ directory. If I
  > create new folders below this with files in them they and their
  > files are not added?
  >
  > What to do?

 fossil addremove?
 
  --
  Pietro Cerutti
 g...@gahr.ch

 ___

  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 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



Links:

  1. tel:%2B61%20400%20551%20920
  2. http://ecourban.com.au/
  3. tel:%2B61%20400%20551%20920
  4. http://ecourban.com.au/
___
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] Non empty directories

2017-03-15 Thread Martin Gagnon
It should works, unless there's some information we don't know. Do you have
something in  "ignore-glob" (what is the output of : "fossil set
ignore-glob" ?

Can you paste here the transcript of your console when you try ?

Have you try same thing on a brand new repository? Is it the same ?


Regards,

-- 
Martin G.

Le mer. 15 mars 2017 à 06:24, Dan Raymond  a écrit :

> Martin,
>
> No they are normal names no dots.
>
> Dan
>
> Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia
> Mail:   PO Box 7815 Waterfront Place, Brisbane 4001
> Tel:+61 733 600 255
> Mob:  +61 400 551 920
> Fax:   +61 733 600 222
> Web:  http://ecourban.com.au
>
> On Wed, Mar 15, 2017 at 8:13 PM, Martin Gagnon  wrote:
>
> Does the directory name start with a dot ? The dot files (and dot
> directories) are ignored by default. So you can try:
>
>   fossil add --dotfiles .
>
>
> --
> Martin G.
>
> Le mer. 15 mars 2017 à 06:06, Dan Raymond  a écrit :
>
> Pietro,
>
> addremove Doesn't do it (version 2.10)
>
> add command doesn't pick up the folder even though there is a new file in
> it!
>
> AH!
>
> Dan
>
> Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia
> Mail:   PO Box 7815 Waterfront Place, Brisbane 4001
> Tel:+61 733 600 255
> Mob:  +61 400 551 920
> Fax:   +61 733 600 222
> Web:  http://ecourban.com.au
>
> On Wed, Mar 15, 2017 at 7:17 PM, Pietro Cerutti  wrote:
>
> On 2017-Mar-15, 19:03, Dan Raymond wrote:
> [-- Type: text/plain; charset=UTF-8, Encoding: 7bit, Size: 0.6K --]
> > How can I get the fossil add command to add new directories under the
> root
> > checkout when they have new files in them. I understand fossil doesn't
> > notice new empty directories when you use the add command, but these also
> > have new files.
> >
> > The fossil  add only adds files in the _FOSSIL_ directory. If I create
> new
> > folders below this with files in them they and their files are not added?
> >
> > What to do?
>
> fossil addremove?
>
> --
> Pietro Cerutti
> g...@gahr.ch
>
> ___
> 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 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 mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Non empty directories

2017-03-15 Thread Dan Raymond
Martin,

No they are normal names no dots.

Dan

Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia
Mail:   PO Box 7815 Waterfront Place, Brisbane 4001
Tel:+61 733 600 255
Mob:  +61 400 551 920
Fax:   +61 733 600 222
Web:  http://ecourban.com.au

On Wed, Mar 15, 2017 at 8:13 PM, Martin Gagnon  wrote:

> Does the directory name start with a dot ? The dot files (and dot
> directories) are ignored by default. So you can try:
>
>   fossil add --dotfiles .
>
>
> --
> Martin G.
>
> Le mer. 15 mars 2017 à 06:06, Dan Raymond  a écrit :
>
>> Pietro,
>>
>> addremove Doesn't do it (version 2.10)
>>
>> add command doesn't pick up the folder even though there is a new file in
>> it!
>>
>> AH!
>>
>> Dan
>>
>> Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia
>> Mail:   PO Box 7815 Waterfront Place, Brisbane 4001
>> Tel:+61 733 600 255
>> Mob:  +61 400 551 920
>> Fax:   +61 733 600 222
>> Web:  http://ecourban.com.au
>>
>> On Wed, Mar 15, 2017 at 7:17 PM, Pietro Cerutti  wrote:
>>
>> On 2017-Mar-15, 19:03, Dan Raymond wrote:
>> [-- Type: text/plain; charset=UTF-8, Encoding: 7bit, Size: 0.6K --]
>> > How can I get the fossil add command to add new directories under the
>> root
>> > checkout when they have new files in them. I understand fossil doesn't
>> > notice new empty directories when you use the add command, but these
>> also
>> > have new files.
>> >
>> > The fossil  add only adds files in the _FOSSIL_ directory. If I create
>> new
>> > folders below this with files in them they and their files are not
>> added?
>> >
>> > What to do?
>>
>> fossil addremove?
>>
>> --
>> Pietro Cerutti
>> g...@gahr.ch
>>
>> ___
>> 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 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] Non empty directories

2017-03-15 Thread Pietro Cerutti
On 2017-Mar-15, 20:06, Dan Raymond wrote:
[-- Type: text/plain; charset=UTF-8, Encoding: 7bit, Size: 1.2K --]
> Pietro,
> 
> addremove Doesn't do it (version 2.10)
> 
> add command doesn't pick up the folder even though there is a new file in
> it!

It does work here: http://pastebin.com/t7psZEdm

anything different there?

-- 
Pietro Cerutti
g...@gahr.ch


signature.asc
Description: PGP signature
___
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] Non empty directories

2017-03-15 Thread Martin Gagnon
Does the directory name start with a dot ? The dot files (and dot
directories) are ignored by default. So you can try:

  fossil add --dotfiles .


-- 
Martin G.

Le mer. 15 mars 2017 à 06:06, Dan Raymond  a écrit :

> Pietro,
>
> addremove Doesn't do it (version 2.10)
>
> add command doesn't pick up the folder even though there is a new file in
> it!
>
> AH!
>
> Dan
>
> Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia
> Mail:   PO Box 7815 Waterfront Place, Brisbane 4001
> Tel:+61 733 600 255
> Mob:  +61 400 551 920
> Fax:   +61 733 600 222
> Web:  http://ecourban.com.au
>
> On Wed, Mar 15, 2017 at 7:17 PM, Pietro Cerutti  wrote:
>
> On 2017-Mar-15, 19:03, Dan Raymond wrote:
> [-- Type: text/plain; charset=UTF-8, Encoding: 7bit, Size: 0.6K --]
> > How can I get the fossil add command to add new directories under the
> root
> > checkout when they have new files in them. I understand fossil doesn't
> > notice new empty directories when you use the add command, but these also
> > have new files.
> >
> > The fossil  add only adds files in the _FOSSIL_ directory. If I create
> new
> > folders below this with files in them they and their files are not added?
> >
> > What to do?
>
> fossil addremove?
>
> --
> Pietro Cerutti
> g...@gahr.ch
>
> ___
> 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 mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Non empty directories

2017-03-15 Thread Dan Raymond
Martin

add . with the . doesn't add anything outside current root folder

add NEWDIR works but means I have to explicitly type all the new
directories???

Is there not a better way for new sub directories in the code (I am using
fossil to develop manuals so sub folders get added often, even empty ones!!)

Dan

Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia
Mail:   PO Box 7815 Waterfront Place, Brisbane 4001
Tel:+61 733 600 255
Mob:  +61 400 551 920
Fax:   +61 733 600 222
Web:  http://ecourban.com.au

On Wed, Mar 15, 2017 at 7:46 PM, Martin Gagnon  wrote:

> fossil add NEWDIR
>   or
> fossil add .
>
>  (Don't forget the "." on the latter., which will all everything under
> current directory)
>
> Regards
>
> --
> Martin G.
>
> Le mer. 15 mars 2017 à 05:03, Dan Raymond  a écrit :
>
>> How can I get the fossil add command to add new directories under the
>> root checkout when they have new files in them. I understand fossil doesn't
>> notice new empty directories when you use the add command, but these also
>> have new files.
>>
>> The fossil  add only adds files in the _FOSSIL_ directory. If I create
>> new folders below this with files in them they and their files are not
>> added?
>>
>> What to do?
>> Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia
>> Mail:   PO Box 7815 Waterfront Place, Brisbane 4001
>> Tel:+61 733 600 255
>> Mob:  +61 400 551 920
>> Fax:   +61 733 600 222
>> Web:  http://ecourban.com.au
>> ___
>> 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 mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Non empty directories

2017-03-15 Thread Dan Raymond
Pietro,

addremove Doesn't do it (version 2.10)

add command doesn't pick up the folder even though there is a new file in
it!

AH!

Dan

Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia
Mail:   PO Box 7815 Waterfront Place, Brisbane 4001
Tel:+61 733 600 255
Mob:  +61 400 551 920
Fax:   +61 733 600 222
Web:  http://ecourban.com.au

On Wed, Mar 15, 2017 at 7:17 PM, Pietro Cerutti  wrote:

> On 2017-Mar-15, 19:03, Dan Raymond wrote:
> [-- Type: text/plain; charset=UTF-8, Encoding: 7bit, Size: 0.6K --]
> > How can I get the fossil add command to add new directories under the
> root
> > checkout when they have new files in them. I understand fossil doesn't
> > notice new empty directories when you use the add command, but these also
> > have new files.
> >
> > The fossil  add only adds files in the _FOSSIL_ directory. If I create
> new
> > folders below this with files in them they and their files are not added?
> >
> > What to do?
>
> fossil addremove?
>
> --
> Pietro Cerutti
> g...@gahr.ch
>
> ___
> 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] Non empty directories

2017-03-15 Thread Martin Gagnon
fossil add NEWDIR
  or
fossil add .

 (Don't forget the "." on the latter., which will all everything under
current directory)

Regards

-- 
Martin G.

Le mer. 15 mars 2017 à 05:03, Dan Raymond  a écrit :

> How can I get the fossil add command to add new directories under the root
> checkout when they have new files in them. I understand fossil doesn't
> notice new empty directories when you use the add command, but these also
> have new files.
>
> The fossil  add only adds files in the _FOSSIL_ directory. If I create new
> folders below this with files in them they and their files are not added?
>
> What to do?
> Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia
> Mail:   PO Box 7815 Waterfront Place, Brisbane 4001
> Tel:+61 733 600 255
> Mob:  +61 400 551 920
> Fax:   +61 733 600 222
> Web:  http://ecourban.com.au
> ___
> 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] Non empty directories

2017-03-15 Thread Pietro Cerutti
On 2017-Mar-15, 19:03, Dan Raymond wrote:
[-- Type: text/plain; charset=UTF-8, Encoding: 7bit, Size: 0.6K --]
> How can I get the fossil add command to add new directories under the root
> checkout when they have new files in them. I understand fossil doesn't
> notice new empty directories when you use the add command, but these also
> have new files.
> 
> The fossil  add only adds files in the _FOSSIL_ directory. If I create new
> folders below this with files in them they and their files are not added?
> 
> What to do?

fossil addremove?

-- 
Pietro Cerutti
g...@gahr.ch


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


[fossil-users] Non empty directories

2017-03-15 Thread Dan Raymond
How can I get the fossil add command to add new directories under the root
checkout when they have new files in them. I understand fossil doesn't
notice new empty directories when you use the add command, but these also
have new files.

The fossil  add only adds files in the _FOSSIL_ directory. If I create new
folders below this with files in them they and their files are not added?

What to do?
Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia
Mail:   PO Box 7815 Waterfront Place, Brisbane 4001
Tel:+61 733 600 255
Mob:  +61 400 551 920
Fax:   +61 733 600 222
Web:  http://ecourban.com.au
___
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] Cloning issue

2017-03-15 Thread Dan Raymond
Pietro,

Thanks that nailed it. Was not clear from the documentation works to clone.
HOwever, whenever I try to autosync back the other way I get a "not
authorized to write" error?


Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia
Mail:   PO Box 7815 Waterfront Place, Brisbane 4001
Tel:+61 733 600 255
Mob:  +61 400 551 920
Fax:   +61 733 600 222
Web:  http://ecourban.com.au

On Wed, Mar 15, 2017 at 5:25 PM, Pietro Cerutti  wrote:

>
>
>
> --
> Pietro Cerutti
> g...@gahr.ch
> On 15 Mar 2017, at 07:23, Dan Raymond  wrote:
>
> I can issue this: "wget http://danraymond.org/fossil/mydan.fossil; and
> get the repository file "mydan.fossil"
>
> if I issue: "fossil clone http://danraymond.org/fossil/mydan funny.fossil"
>
> I get:
> "server says: 404 Not Found
> Clone done, sent: 268  received: 675  ip: 102.0.110.131
> server returned an error - clone aborted
>
>
> The clone command needs a fossil server listening - possibly through CGI -
> and is not equivalent to copying the file itself: local config is not
> copied upon clone.
>
> --
> Pietro Cerutti
> g...@gahr.ch
>
> ___
> 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] Cloning issue

2017-03-15 Thread Pietro Cerutti



-- 
Pietro Cerutti
g...@gahr.ch
> On 15 Mar 2017, at 07:23, Dan Raymond  wrote:
> 
> I can issue this: "wget http://danraymond.org/fossil/mydan.fossil; and get 
> the repository file "mydan.fossil"
> 
> if I issue: "fossil clone http://danraymond.org/fossil/mydan funny.fossil"
> 
> I get:
> "server says: 404 Not Found
> Clone done, sent: 268  received: 675  ip: 102.0.110.131
> server returned an error - clone aborted

The clone command needs a fossil server listening - possibly through CGI - and 
is not equivalent to copying the file itself: local config is not copied upon 
clone.

-- 
Pietro Cerutti
g...@gahr.ch___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Cloning issue

2017-03-15 Thread Dan Raymond
I can issue this: "wget http://danraymond.org/fossil/mydan.fossil; and get
the repository file "mydan.fossil"

if I issue: "fossil clone http://danraymond.org/fossil/mydan funny.fossil"

I get:
"server says: 404 Not Found
Clone done, sent: 268  received: 675  ip: 102.0.110.131
server returned an error - clone aborted

I can't seem to get a clone to work at all, always the 404 even though wget
can.

I have tried  variations with the remoter serve login/password as: "fossil
clone http://login:passw...@danraymond.org/fossil/mydan funny.fossil" to no
avail

On the host I can execute fossil server mydan.fossil and the web ui works
as expected and opens the remote repository file and I can make wiki etc.

Any clues would be appreciated as I would appreciate getting clone going

Dan

Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia
Mail:   PO Box 7815 Waterfront Place, Brisbane 4001
Tel:+61 733 600 255
Mob:  +61 400 551 920
Fax:   +61 733 600 222
Web:  http://ecourban.com.au
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users