[fossil-users] Editing the header text from the command line

2012-11-29 Thread David Given
I've managed to bugger up the base URL in one of my fossil repos.
Unfortunately I now can't fix this because the 'update' button on the
web page is pointing at the wrong URL...

Is there a way I check out / check in the header text from the command
line so that I can fix this without using the web UI?

-- 
┌─── dg@cowlark.com ─ http://www.cowlark.com ─
│ There is nothing in the world so dangerous --- and I mean *nothing*
│ --- as a children's story that happens to be true. --- Master Li Kao,
│ _The Bridge of Birds_



signature.asc
Description: OpenPGP digital 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] Editing the header text from the command line

2012-11-29 Thread Tomek Kott
not sure about command line for that, but could you use an in-browser html 
editor to manually change which url the form points to? That might be a hacky 
way of getting around it... I know I've done things like that for changing 
javascript, I'm just not sure about the form url.

Date: Thu, 29 Nov 2012 13:02:45 +
From: d...@cowlark.com
To: fossil-users@lists.fossil-scm.org
Subject: [fossil-users] Editing the header text from the command line

I've managed to bugger up the base URL in one of my fossil repos.
Unfortunately I now can't fix this because the 'update' button on the
web page is pointing at the wrong URL...
 
Is there a way I check out / check in the header text from the command
line so that I can fix this without using the web UI?
 
-- 
┌─── dg@cowlark.com ─ http://www.cowlark.com ─
│ There is nothing in the world so dangerous --- and I mean *nothing*
│ --- as a children's story that happens to be true. --- Master Li Kao,
│ _The Bridge of Birds_
 

___
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] Editing the header text from the command line

2012-11-29 Thread Richard Hipp
On Thu, Nov 29, 2012 at 8:02 AM, David Given d...@cowlark.com wrote:

 I've managed to bugger up the base URL in one of my fossil repos.
 Unfortunately I now can't fix this because the 'update' button on the
 web page is pointing at the wrong URL...

 Is there a way I check out / check in the header text from the command
 line so that I can fix this without using the web UI?


fossil configuration export skin somefile.txt
# edit somefile.txt to fix your problem
fossil configuration import somefile.txt



 --
 ┌─── dg@cowlark.com ─ http://www.cowlark.com ─
 │ There is nothing in the world so dangerous --- and I mean *nothing*
 │ --- as a children's story that happens to be true. --- Master Li Kao,
 │ _The Bridge of Birds_


 ___
 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] Editing the header text from the command line

2012-11-29 Thread David Given
Richard Hipp wrote:
[...]
 fossil configuration export skin somefile.txt
 # edit somefile.txt to fix your problem
 fossil configuration import somefile.txt

Brilliant --- thanks.

-- 
┌─── dg@cowlark.com ─ http://www.cowlark.com ─
│ There is nothing in the world so dangerous --- and I mean *nothing*
│ --- as a children's story that happens to be true. --- Master Li Kao,
│ _The Bridge of Birds_



signature.asc
Description: OpenPGP digital 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] [1.24/Win] Adding files through *.html?

2012-11-29 Thread Gilles
Hello

I'm getting another issue on an XP host trying to add multiple files
to the next commit:

D:\Temp\test.fossilfossil add *.html
fossil: not found: D:/Temp/test.fossil/*.html

D:\Temp\test.fossilfossil add *.html
fossil: not found: D:/Temp/test.fossil/*.html

D:\Temp\test.fossilfossil add ./*.html
fossil: not found: D:/Temp/test.fossil/*.html

FYI,fossil changes works fine to show me that some files have been
edited, so Fossil is working OK.

I guess it's due to the shell, but does a Windows user know of a
work-around?

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.24/Win] Adding files through *.html?

2012-11-29 Thread Richard Hipp
On Thu, Nov 29, 2012 at 11:28 AM, Gilles gilles.gana...@free.fr wrote:

 Hello

 I'm getting another issue on an XP host trying to add multiple files
 to the next commit:

 D:\Temp\test.fossilfossil add *.html
 fossil: not found: D:/Temp/test.fossil/*.html

 D:\Temp\test.fossilfossil add *.html
 fossil: not found: D:/Temp/test.fossil/*.html

 D:\Temp\test.fossilfossil add ./*.html
 fossil: not found: D:/Temp/test.fossil/*.html


What do these commands say?

dir *.html
fossil test-echo *.html



 FYI,fossil changes works fine to show me that some files have been
 edited, so Fossil is working OK.

 I guess it's due to the shell, but does a Windows user know of a
 work-around?

 Thank you.

 ___
 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.24/Win] Adding files through *.html?

2012-11-29 Thread Gilles
On Thu, 29 Nov 2012 11:32:06 -0500, Richard Hipp
d...@sqlite.org wrote:
What do these commands say?

dir *.html
fossil test-echo *.html

D:\Temp\test.fossildir *.html

 Directory of D:\Temp\test.fossil

29/11/2012  17:19 5 dummy.html
   1 File(s)  5 bytes
   0 Dir(s)  303 243 038 720 bytes free

D:\Temp\test.fossilfossil test-echo *.html
argv[0] = [fossil]
argv[1] = [test-echo]
argv[2] = [*.html]

It works with a single file:

D:\Temp\test.fossilfossil add dummy.html
ADDED  dummy.html

I've always tried using the full paths, to no avail:
D:\Temp\test.fossilfossil add D:/Temp/test.fossil/*.html
fossil: not found: D:/Temp/test.fossil/*.html

___
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.24/Win] Adding files through *.html?

2012-11-29 Thread Richard Hipp
On Thu, Nov 29, 2012 at 11:35 AM, Gilles gilles.gana...@free.fr wrote:

 On Thu, 29 Nov 2012 11:32:06 -0500, Richard Hipp
 d...@sqlite.org wrote:
 What do these commands say?
 
 dir *.html
 fossil test-echo *.html

 D:\Temp\test.fossildir *.html

  Directory of D:\Temp\test.fossil

 29/11/2012  17:19 5 dummy.html
1 File(s)  5 bytes
0 Dir(s)  303 243 038 720 bytes free

 D:\Temp\test.fossilfossil test-echo *.html
 argv[0] = [fossil]
 argv[1] = [test-echo]
 argv[2] = [*.html]


I think it will work better if you recompile using mingw instead of msvc.
The crt0 for msvc does not process wildcards in command-line arguments
whereas the crt0 for mingw does.



 It works with a single file:

 D:\Temp\test.fossilfossil add dummy.html
 ADDED  dummy.html

 I've always tried using the full paths, to no avail:
 D:\Temp\test.fossilfossil add D:/Temp/test.fossil/*.html
 fossil: not found: D:/Temp/test.fossil/*.html

 ___
 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.24/Win] Adding files through *.html?

2012-11-29 Thread Peter Spjuth
On Thu, Nov 29, 2012 at 5:35 PM, Gilles gilles.gana...@free.fr wrote:

 D:\Temp\test.fossildir *.html

  Directory of D:\Temp\test.fossil

 29/11/2012  17:19 5 dummy.html
1 File(s)  5 bytes
0 Dir(s)  303 243 038 720 bytes free

 D:\Temp\test.fossilfossil test-echo *.html
 argv[0] = [fossil]
 argv[1] = [test-echo]
 argv[2] = [*.html]

 It works with a single file:

 D:\Temp\test.fossilfossil add dummy.html
 ADDED  dummy.html

 I've always tried using the full paths, to no avail:
 D:\Temp\test.fossilfossil add D:/Temp/test.fossil/*.html
 fossil: not found: D:/Temp/test.fossil/*.html

You can also do:
for %x in (*.html) do fossil add %x

/Peter
___
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.24/Win] Adding files through *.html?

2012-11-29 Thread Gilles
On Thu, 29 Nov 2012 11:38:43 -0500, Richard Hipp
d...@sqlite.org wrote:
 D:\Temp\test.fossilfossil test-echo *.html
 argv[0] = [fossil]
 argv[1] = [test-echo]
 argv[2] = [*.html]


I think it will work better if you recompile using mingw instead of msvc.
The crt0 for msvc does not process wildcards in command-line arguments
whereas the crt0 for mingw does.

I checked the strings within fossil.exe, but didn't find infos on who
takes care of compiling Fossil for Windows to check how to recompile
the code with Mingw. If the person in charge reads me, could you tell
me?

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.24/Win] Adding files through *.html?

2012-11-29 Thread Richard Hipp
On Thu, Nov 29, 2012 at 11:46 AM, Gilles gilles.gana...@free.fr wrote:

 On Thu, 29 Nov 2012 11:38:43 -0500, Richard Hipp
 d...@sqlite.org wrote:
  D:\Temp\test.fossilfossil test-echo *.html
  argv[0] = [fossil]
  argv[1] = [test-echo]
  argv[2] = [*.html]
 
 
 I think it will work better if you recompile using mingw instead of msvc.
 The crt0 for msvc does not process wildcards in command-line arguments
 whereas the crt0 for mingw does.

 I checked the strings within fossil.exe, but didn't find infos on who
 takes care of compiling Fossil for Windows to check how to recompile
 the code with Mingw. If the person in charge reads me, could you tell
 me?


http://www.fossil-scm.org/fossil/doc/trunk/www/build.wiki

Summary:

(1) Install mingw/msys
(2) Unpack the Fossil source tarball, or clone the fossil repository.
(3) Run:  make -f win/makefile.mingw
(4) Put the resulting fossil.exe file somewhere on your path.



 Thank you.

 ___
 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.24/Win] Adding files through *.html?

2012-11-29 Thread Gilles
On Thu, 29 Nov 2012 17:43:34 +0100, Peter Spjuth
peter.spj...@gmail.com wrote:
You can also do:
for %x in (*.html) do fossil add %x

Thanks for the tip, but it's much more involved than simply fossil
add *.html.

___
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.24/Win] Adding files through *.html?

2012-11-29 Thread Gilles
On Thu, 29 Nov 2012 11:57:23 -0500, Richard Hipp
d...@sqlite.org wrote:
http://www.fossil-scm.org/fossil/doc/trunk/www/build.wiki

Summary:

(1) Install mingw/msys
(2) Unpack the Fossil source tarball, or clone the fossil repository.
(3) Run:  make -f win/makefile.mingw
(4) Put the resulting fossil.exe file somewhere on your path.

Thank you. I'll give a try in the couple of days.

___
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] Is there a setting to make fossil handle UTF-8 correctly in file names and folder names?

2012-11-29 Thread John Smith
On Wed, Nov 28, 2012 at 5:32 PM, Konstantin Khomoutov
flatw...@users.sourceforge.net wrote:

 On Wed, Nov 28, 2012 at 02:56:09PM -0500, Richard Hipp wrote:

   Is this a configuration issue? Or can fossil not handle special
   characters in file and folder names?
 
  Fossil is suppose to handle non-ASCII characters in filenames correctly.
  If it does not, that is a bug.  What version of Fossil are you running?
  Can you send in a detailed bug report with steps to reproduce the issue?

 I'm just handwaving, but Git's code base recently received some
 modifications to specifically deal with issues a native Mac OS X
 filesystem have with regard to UTF-8.  AFAIK the deal was about that
 filesystem pefrorming one of standard UTF-8 normalizations either when
 writing or when reading (or both) so that when you create a directory
 entry and then read it back, you might get an octet string different
 from that you wrote.

 See the extensive commit message in [1] and [2] in general.

 1.
 https://github.com/git/git/commit/76759c7dff53e8c84e975b88cb8245587c14c7ba
 2. http://en.wikipedia.org/wiki/HFS_Plus

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


Checkin [ca728447a6] breaks fossil on WinXP SP3 32 bit compiled under
MINGW32. Lots of compilation warnings but compile creates fossil.exe.
Checkin [3527aa4474] still compiles and runs fine.

Here are some attempts at running the compiled checkin [ca728447a6]
(fo is an alias for fossil).

11:26:07 $ fo
Usage: `A?A COMMAND ...
   or: `A?A help   -- for a list of common commands
   or: `A?A help COMMMAND  -- for help with the named command

11:27:21 $ fossil
Usage: `??A COMMAND ...
   or: `??A help   -- for a list of common commands
   or: `??A help COMMMAND  -- for help with the named command

11:27:29 $ fossil help
??: ??: unknown command: ??
??: use help for more information
___
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] Is there a setting to make fossil handle UTF-8 correctly in file names and folder names?

2012-11-29 Thread Richard Hipp
On Thu, Nov 29, 2012 at 12:36 PM, John Smith johnqzm...@gmail.com wrote:



 Checkin [ca728447a6] breaks fossil on WinXP SP3 32 bit compiled under
 MINGW32. Lots of compilation warnings but compile creates fossil.exe.


Fixed now.

-- 
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] Is there a setting to make fossil handle UTF-8 correctly in file names and folder names?

2012-11-29 Thread John Smith
On Thu, Nov 29, 2012 at 12:22 PM, Richard Hipp d...@sqlite.org wrote:


 Fixed now.


Still getting multiple compile warnings, but it's working. Thanks for
the quick fix.
___
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] Is there a setting to make fossil handle UTF-8 correctly in file names and folder names?

2012-11-29 Thread John Smith
On Thu, Nov 29, 2012 at 12:22 PM, Richard Hipp d...@sqlite.org wrote:

 Fixed now.


Warnings all gone after updating to [9eb2df37ef]. Awesome job.
___
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.24/Win] Adding files through *.html?

2012-11-29 Thread Richie Adler
Gilles decía, en el mensaje Re: [fossil-users] [1.24/Win] Adding files
through *.html? del Jueves, 29 de Noviembre de 2012 14:08:32:
 On Thu, 29 Nov 2012 17:43:34 +0100, Peter Spjuth
 peter.spj...@gmail.com wrote:
 You can also do:
 for %x in (*.html) do fossil add %x
 
 Thanks for the tip, but it's much more involved than simply fossil
 add *.html.

Peter's solution is much more involved but compiling your own fossil
executable is acceptable?!

Weird :)


-- 

   o-= Marcelo =-o

___
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.24/Win] Adding files through *.html?

2012-11-29 Thread Richard Hipp
On Thu, Nov 29, 2012 at 7:19 PM, Richie Adler richiead...@gmail.com wrote:

 Gilles decía, en el mensaje Re: [fossil-users] [1.24/Win] Adding files
 through *.html? del Jueves, 29 de Noviembre de 2012 14:08:32:
  On Thu, 29 Nov 2012 17:43:34 +0100, Peter Spjuth
  peter.spj...@gmail.com wrote:
  You can also do:
  for %x in (*.html) do fossil add %x
 
  Thanks for the tip, but it's much more involved than simply fossil
  add *.html.

 Peter's solution is much more involved but compiling your own fossil
 executable is acceptable?!

 Weird :)


I think the issue is that *.html was simply an example.  The actual use
case involved more complex patterns than just *.html.

Further note that compiling Fossil is really, really simply.  For the
latest code from trunk, there are no external library dependencies (other
than the standard C library which comes with your compiler.)  Installing
Msys+Mingw is the hardest step, and that is still relatively simple.  If
you have never compiled Fossil from sources before, you really ought to
give it a go.




 --

o-= Marcelo =-o

 ___
 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