Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
July 2015
- 850 messages
Re: [Pharo-dev] [pharo-project/pharo-core] 20b048: 50162
by Sean P. DeNigris
GitHub wrote
> 14310 Renaming a package just by changing upper/lowercase removes the
> package
> https://pharo.fogbugz.com/f/cases/14310
This is a nasty one. I've been bitten by this twice. I was able to recover
the changes, but to a new user this would be horrifying! So...
Issue 15935 Backport 4.0: Renaming a package just by changing
upper/lowercase removes the package
https://pharo.fogbugz.com/default.asp?15935
-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/pharo-project-pharo-core-20b048-50162-tp4836729p48367…
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
July 9, 2015
Re: [Pharo-dev] merging in a filetree repository
by Norbert Hartl
> Am 09.07.2015 um 15:45 schrieb Thierry Goubier <thierry.goubier(a)gmail.com>:
>
>
>
> 2015-07-09 15:36 GMT+02:00 Norbert Hartl <norbert(a)hartl.name <mailto:norbert@hartl.name>>:
>
>> Am 09.07.2015 um 15:27 schrieb Thierry Goubier <thierry.goubier(a)gmail.com <mailto:thierry.goubier@gmail.com>>:
>>
>> Thanks.
>>
>> I believe there are no options of stat or readlink that are the same between linux and mac os X :(
>>
>> I like Unix portability ;)
>>
> You mean POSIX? ;)
>
> Who said: what is nice with standards is that there are so many to choose from? ;)
>
Agreed!!! :)
Tim Toady,
Norbert
> Thierry
>
>
> Norbert
>
>>
>> 2015-07-09 14:29 GMT+02:00 Christophe Demarey <Christophe.Demarey(a)inria.fr <mailto:Christophe.Demarey@inria.fr>>:
>> The man page lists available options on OS X:
>>
>> STAT(1) BSD General Commands Manual STAT(1)
>>
>> NAME
>> readlink, stat -- display file status
>>
>> SYNOPSIS
>> stat [-FLnq] [-f format | -l | -r | -s | -x] [-t timefmt] [file ...]
>> readlink [-n] [file ...]
>>
>> DESCRIPTION
>> The stat utility displays information about the file pointed to by file.
>> Read, write or execute permissions of the named file are not required,
>> but all directories listed in the path name leading to the file must be
>> searchable. If no argument is given, stat displays information about the
>> file descriptor for standard input.
>>
>> When invoked as readlink, only the target of the symbolic link is
>> printed. If the given argument is not a symbolic link, readlink will
>> print nothing and exit with an error.
>>
>> The information displayed is obtained by calling lstat(2) with the given
>> argument and evaluating the returned structure.
>>
>> The options are as follows:
>>
>> -F As in ls(1), display a slash (`/') immediately after each path-
>> name that is a directory, an asterisk (`*') after each that is
>> executable, an at sign (`@') after each symbolic link, a percent
>> sign (`%') after each whiteout, an equal sign (`=') after each
>> socket, and a vertical bar (`|') after each that is a FIFO. The
>> use of -F implies -l.
>>
>> -f format
>> Display information using the specified format. See the FORMATS
>> section for a description of valid formats.
>>
>> -L Use stat(2) instead of lstat(2). The information reported by
>> stat will refer to the target of file, if file is a symbolic
>> link, and not to file itself.
>>
>> -l Display output in ls -lT format.
>>
>> -n Do not force a newline to appear at the end of each piece of out-
>> put.
>>
>> -q Suppress failure messages if calls to stat(2) or lstat(2) fail.
>> When run as readlink, error messages are automatically sup-
>> pressed.
>>
>> -r Display raw information. That is, for all the fields in the stat
>> structure, display the raw, numerical value (for example, times
>> in seconds since the epoch, etc.).
>>
>> -s Display information in ``shell output'', suitable for initializ-
>> ing variables.
>>
>> -t timefmt
>> Display timestamps using the specified format. This format is
>> passed directly to strftime(3).
>>
>> -x Display information in a more verbose way as known from some
>> Linux distributions.
>>
>>
>>
>> Le 9 juil. 2015 à 13:46, Thierry Goubier a écrit :
>>
>>>
>>>
>>> 2015-07-09 13:41 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com <mailto:alexandre.bergel@me.com>>:
>>> I tried:
>>>
>>> ~/HackathonSattose2015> readlink --help
>>> readlink: illegal option -- -
>>> usage: readlink [-n] [file ...]
>>> ~/HackathonSattose2015> readlink -help
>>> readlink: illegal option -- h
>>> usage: readlink [-n] [file ...]
>>> ~/HackathonSattose2015> readlink -?
>>> readlink: illegal option -- ?
>>> usage: readlink [-n] [file ...]
>>> ~/HackathonSattose2015> readlink -h
>>> readlink: illegal option -- h
>>> usage: readlink [-n] [file ...]
>>> ~/HackathonSattose2015> readlink
>>> ~/HackathonSattose2015>
>>>
>>> Thanks, this helps!
>>>
>>> I have updated the merge driver with a corrected merge script, which should work for you if you want to update.
>>>
>>> Thierry
>>>
>>>
>>>
>>>
>>> > On Jul 9, 2015, at 10:34 AM, Thierry Goubier <thierry.goubier(a)gmail.com <mailto:thierry.goubier@gmail.com>> wrote:
>>> >
>>> > Alexandre, if you had the time, could you give me the output of
>>> >
>>> > readlink --help
>>> >
>>> > on your computer?
>>> >
>>> > Thanks,
>>> >
>>> > Thierry
>>> >
>>> > 2015-07-09 9:44 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com <mailto:alexandre.bergel@me.com>>:
>>> > Ok, thanks!
>>> >
>>> > Alexandre
>>> >
>>> > > On Jul 8, 2015, at 11:39 PM, Thierry Goubier <thierry.goubier(a)gmail.com <mailto:thierry.goubier@gmail.com>> wrote:
>>> > >
>>> > > Le 08/07/2015 23:25, Alexandre Bergel a écrit :
>>> > >> Thanks Thierry. Seems to work. But I get this error:
>>> > >>
>>> > >> ~/HackathonSattose2015> git merge master
>>> > >> readlink: illegal option -- e
>>> > >> usage: readlink [-n] [file ...]
>>> > >> readlink: illegal option -- e
>>> > >> usage: readlink [-n] [file ...]
>>> > >> readlink: illegal option -- e
>>> > >> usage: readlink [-n] [file â¦]
>>> > >
>>> > > Can you edit the merge file (~/Dropbox/Workspace/GitFileTree-MergeDriver/merge) and change that line:
>>> > >
>>> > > DIR=`readlink -e "$0"` || DIR="$0";
>>> > >
>>> > > to:
>>> > >
>>> > > DIR=`readlink "$0"` || DIR="$0";
>>> > >
>>> > > (I would have expected this to work as well on a mac... but it isn't the case :(:( The -e option is there to try to see through symlinks. I'll correct that.)
>>> > >
>>> > > Thierry
>>> > >
>>> > >>
>>> > >> Any idea?
>>> > >>
>>> > >> Alexandre
>>> > >>
>>> > >>
>>> > >>> On Jul 8, 2015, at 3:31 PM, Thierry Goubier <thierry.goubier(a)gmail.com <mailto:thierry.goubier@gmail.com>> wrote:
>>> > >>>
>>> > >>>
>>> > >>>
>>> > >>> 2015-07-08 15:24 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com <mailto:alexandre.bergel@me.com>>:
>>> > >>> Thierry,
>>> > >>>
>>> > >>>>> $ git config --get merge.mcVersion.driver
>>> > >>>>
>>> > >>>> ~/HackathonSattose2015> git config --get merge.mcVersion.driver
>>> > >>>> pathToGitFileTree-MergeDriver/merge --version %O %A %B
>>> > >>>
>>> > >>> Any idea how I can merge then?
>>> > >>> Is this value what you expected?
>>> > >>>
>>> > >>> No.
>>> > >>>
>>> > >>> If you have your path for the merge command (something like
>>> > >>> /User/Alexandre/GitFileTree-MergeDriver/merge ), then it should be:
>>> > >>>
>>> > >>> ~/HackathonSattose2015> git config --get merge.mcVersion.driver
>>> > >>> /User/Alexandre/GitFileTree-MergeDriver/merge --version %O %A %B
>>> > >>>
>>> > >>> To correct it, what you can do by hand is:
>>> > >>>
>>> > >>> git config --global merge.mcVersion.driver "/User/Alexandre/GitFileTree-MergeDriver/merge --version %O %A %B"
>>> > >>> git config --global merge.mcMethodProperties.driver "/User/Alexandre/GitFileTree-MergeDriver/merge --methodProperties %O %A %B"
>>> > >>> git config --global merge.mcProperties.driver "/User/Alexandre/GitFileTree-MergeDriver/merge --properties %O %A %B"
>>> > >>>
>>> > >>> Don't forget to update the path !
>>> > >>>
>>> > >>> Thierry
>>> > >>>
>>> > >>>
>>> > >>> Cheers,
>>> > >>> Alexandre
>>> > >>> --
>>> > >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> > >>> Alexandre Bergel http://www.bergel.eu <http://www.bergel.eu/>
>>> > >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>> > >>>
>>> > >>>
>>> > >>>
>>> > >>>
>>> > >>>
>>> > >>
>>> > >
>>> > >
>>> >
>>> > --
>>> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> > Alexandre Bergel http://www.bergel.eu <http://www.bergel.eu/>
>>> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>> >
>>> >
>>> >
>>> >
>>> >
>>>
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel http://www.bergel.eu <http://www.bergel.eu/>
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
July 9, 2015
Re: [Pharo-dev] merging in a filetree repository
by Thierry Goubier
2015-07-09 15:36 GMT+02:00 Norbert Hartl <norbert(a)hartl.name>:
>
> Am 09.07.2015 um 15:27 schrieb Thierry Goubier <thierry.goubier(a)gmail.com
> >:
>
> Thanks.
>
> I believe there are no options of stat or readlink that are the same
> between linux and mac os X :(
>
> I like Unix portability ;)
>
> You mean POSIX? ;)
>
Who said: what is nice with standards is that there are so many to choose
from? ;)
Thierry
>
> Norbert
>
>
> 2015-07-09 14:29 GMT+02:00 Christophe Demarey <Christophe.Demarey(a)inria.fr
> >:
>
>> The man page lists available options on OS X:
>>
>> STAT(1) BSD General Commands Manual
>> STAT(1)
>>
>> NAME
>> readlink, stat -- display file status
>>
>> SYNOPSIS
>> stat [-FLnq] [-f format | -l | -r | -s | -x] [-t timefmt] [file ...]
>> readlink [-n] [file ...]
>>
>> DESCRIPTION
>> The stat utility displays information about the file pointed to by
>> file.
>> Read, write or execute permissions of the named file are not
>> required,
>> but all directories listed in the path name leading to the file must
>> be
>> searchable. If no argument is given, stat displays information
>> about the
>> file descriptor for standard input.
>>
>> When invoked as readlink, only the target of the symbolic link is
>> printed. If the given argument is not a symbolic link, readlink will
>> print nothing and exit with an error.
>>
>> The information displayed is obtained by calling lstat(2) with the
>> given
>> argument and evaluating the returned structure.
>>
>> The options are as follows:
>>
>> -F As in ls(1), display a slash (`/') immediately after each
>> path-
>> name that is a directory, an asterisk (`*') after each that
>> is
>> executable, an at sign (`@') after each symbolic link, a
>> percent
>> sign (`%') after each whiteout, an equal sign (`=') after
>> each
>> socket, and a vertical bar (`|') after each that is a FIFO.
>> The
>> use of -F implies -l.
>>
>> -f format
>> Display information using the specified format. See the
>> FORMATS
>> section for a description of valid formats.
>>
>> -L Use stat(2) instead of lstat(2). The information reported by
>> stat will refer to the target of file, if file is a symbolic
>> link, and not to file itself.
>>
>> -l Display output in ls -lT format.
>>
>> -n Do not force a newline to appear at the end of each piece of
>> out-
>> put.
>>
>> -q Suppress failure messages if calls to stat(2) or lstat(2)
>> fail.
>> When run as readlink, error messages are automatically sup-
>> pressed.
>>
>> -r Display raw information. That is, for all the fields in the
>> stat
>> structure, display the raw, numerical value (for example,
>> times
>> in seconds since the epoch, etc.).
>>
>> -s Display information in ``shell output'', suitable for
>> initializ-
>> ing variables.
>>
>> -t timefmt
>> Display timestamps using the specified format. This format
>> is
>> passed directly to strftime(3).
>>
>> -x Display information in a more verbose way as known from some
>> Linux distributions.
>>
>>
>>
>> Le 9 juil. 2015 à 13:46, Thierry Goubier a écrit :
>>
>>
>>
>> 2015-07-09 13:41 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com>:
>>
>>> I tried:
>>>
>>> ~/HackathonSattose2015> readlink --help
>>> readlink: illegal option -- -
>>> usage: readlink [-n] [file ...]
>>> ~/HackathonSattose2015> readlink -help
>>> readlink: illegal option -- h
>>> usage: readlink [-n] [file ...]
>>> ~/HackathonSattose2015> readlink -?
>>> readlink: illegal option -- ?
>>> usage: readlink [-n] [file ...]
>>> ~/HackathonSattose2015> readlink -h
>>> readlink: illegal option -- h
>>> usage: readlink [-n] [file ...]
>>> ~/HackathonSattose2015> readlink
>>> ~/HackathonSattose2015>
>>>
>>
>> Thanks, this helps!
>>
>> I have updated the merge driver with a corrected merge script, which
>> should work for you if you want to update.
>>
>> Thierry
>>
>>
>>>
>>>
>>>
>>> > On Jul 9, 2015, at 10:34 AM, Thierry Goubier <
>>> thierry.goubier(a)gmail.com> wrote:
>>> >
>>> > Alexandre, if you had the time, could you give me the output of
>>> >
>>> > readlink --help
>>> >
>>> > on your computer?
>>> >
>>> > Thanks,
>>> >
>>> > Thierry
>>> >
>>> > 2015-07-09 9:44 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com>:
>>> > Ok, thanks!
>>> >
>>> > Alexandre
>>> >
>>> > > On Jul 8, 2015, at 11:39 PM, Thierry Goubier <
>>> thierry.goubier(a)gmail.com> wrote:
>>> > >
>>> > > Le 08/07/2015 23:25, Alexandre Bergel a écrit :
>>> > >> Thanks Thierry. Seems to work. But I get this error:
>>> > >>
>>> > >> ~/HackathonSattose2015> git merge master
>>> > >> readlink: illegal option -- e
>>> > >> usage: readlink [-n] [file ...]
>>> > >> readlink: illegal option -- e
>>> > >> usage: readlink [-n] [file ...]
>>> > >> readlink: illegal option -- e
>>> > >> usage: readlink [-n] [file â¦]
>>> > >
>>> > > Can you edit the merge file
>>> (~/Dropbox/Workspace/GitFileTree-MergeDriver/merge) and change that line:
>>> > >
>>> > > DIR=`readlink -e "$0"` || DIR="$0";
>>> > >
>>> > > to:
>>> > >
>>> > > DIR=`readlink "$0"` || DIR="$0";
>>> > >
>>> > > (I would have expected this to work as well on a mac... but it isn't
>>> the case :(:( The -e option is there to try to see through symlinks. I'll
>>> correct that.)
>>> > >
>>> > > Thierry
>>> > >
>>> > >>
>>> > >> Any idea?
>>> > >>
>>> > >> Alexandre
>>> > >>
>>> > >>
>>> > >>> On Jul 8, 2015, at 3:31 PM, Thierry Goubier <
>>> thierry.goubier(a)gmail.com> wrote:
>>> > >>>
>>> > >>>
>>> > >>>
>>> > >>> 2015-07-08 15:24 GMT+02:00 Alexandre Bergel <
>>> alexandre.bergel(a)me.com>:
>>> > >>> Thierry,
>>> > >>>
>>> > >>>>> $ git config --get merge.mcVersion.driver
>>> > >>>>
>>> > >>>> ~/HackathonSattose2015> git config --get merge.mcVersion.driver
>>> > >>>> pathToGitFileTree-MergeDriver/merge --version %O %A %B
>>> > >>>
>>> > >>> Any idea how I can merge then?
>>> > >>> Is this value what you expected?
>>> > >>>
>>> > >>> No.
>>> > >>>
>>> > >>> If you have your path for the merge command (something like
>>> > >>> /User/Alexandre/GitFileTree-MergeDriver/merge ), then it should be:
>>> > >>>
>>> > >>> ~/HackathonSattose2015> git config --get merge.mcVersion.driver
>>> > >>> /User/Alexandre/GitFileTree-MergeDriver/merge --version %O %A %B
>>> > >>>
>>> > >>> To correct it, what you can do by hand is:
>>> > >>>
>>> > >>> git config --global merge.mcVersion.driver
>>> "/User/Alexandre/GitFileTree-MergeDriver/merge --version %O %A %B"
>>> > >>> git config --global merge.mcMethodProperties.driver
>>> "/User/Alexandre/GitFileTree-MergeDriver/merge --methodProperties %O %A %B"
>>> > >>> git config --global merge.mcProperties.driver
>>> "/User/Alexandre/GitFileTree-MergeDriver/merge --properties %O %A %B"
>>> > >>>
>>> > >>> Don't forget to update the path !
>>> > >>>
>>> > >>> Thierry
>>> > >>>
>>> > >>>
>>> > >>> Cheers,
>>> > >>> Alexandre
>>> > >>> --
>>> > >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> > >>> Alexandre Bergel http://www.bergel.eu
>>> > >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>> > >>>
>>> > >>>
>>> > >>>
>>> > >>>
>>> > >>>
>>> > >>
>>> > >
>>> > >
>>> >
>>> > --
>>> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> > Alexandre Bergel http://www.bergel.eu
>>> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>> >
>>> >
>>> >
>>> >
>>> >
>>>
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
July 9, 2015
Re: [Pharo-dev] merging in a filetree repository
by Norbert Hartl
> Am 09.07.2015 um 15:27 schrieb Thierry Goubier <thierry.goubier(a)gmail.com>:
>
> Thanks.
>
> I believe there are no options of stat or readlink that are the same between linux and mac os X :(
>
> I like Unix portability ;)
>
You mean POSIX? ;)
Norbert
>
> 2015-07-09 14:29 GMT+02:00 Christophe Demarey <Christophe.Demarey(a)inria.fr <mailto:Christophe.Demarey@inria.fr>>:
> The man page lists available options on OS X:
>
> STAT(1) BSD General Commands Manual STAT(1)
>
> NAME
> readlink, stat -- display file status
>
> SYNOPSIS
> stat [-FLnq] [-f format | -l | -r | -s | -x] [-t timefmt] [file ...]
> readlink [-n] [file ...]
>
> DESCRIPTION
> The stat utility displays information about the file pointed to by file.
> Read, write or execute permissions of the named file are not required,
> but all directories listed in the path name leading to the file must be
> searchable. If no argument is given, stat displays information about the
> file descriptor for standard input.
>
> When invoked as readlink, only the target of the symbolic link is
> printed. If the given argument is not a symbolic link, readlink will
> print nothing and exit with an error.
>
> The information displayed is obtained by calling lstat(2) with the given
> argument and evaluating the returned structure.
>
> The options are as follows:
>
> -F As in ls(1), display a slash (`/') immediately after each path-
> name that is a directory, an asterisk (`*') after each that is
> executable, an at sign (`@') after each symbolic link, a percent
> sign (`%') after each whiteout, an equal sign (`=') after each
> socket, and a vertical bar (`|') after each that is a FIFO. The
> use of -F implies -l.
>
> -f format
> Display information using the specified format. See the FORMATS
> section for a description of valid formats.
>
> -L Use stat(2) instead of lstat(2). The information reported by
> stat will refer to the target of file, if file is a symbolic
> link, and not to file itself.
>
> -l Display output in ls -lT format.
>
> -n Do not force a newline to appear at the end of each piece of out-
> put.
>
> -q Suppress failure messages if calls to stat(2) or lstat(2) fail.
> When run as readlink, error messages are automatically sup-
> pressed.
>
> -r Display raw information. That is, for all the fields in the stat
> structure, display the raw, numerical value (for example, times
> in seconds since the epoch, etc.).
>
> -s Display information in ``shell output'', suitable for initializ-
> ing variables.
>
> -t timefmt
> Display timestamps using the specified format. This format is
> passed directly to strftime(3).
>
> -x Display information in a more verbose way as known from some
> Linux distributions.
>
>
>
> Le 9 juil. 2015 à 13:46, Thierry Goubier a écrit :
>
>>
>>
>> 2015-07-09 13:41 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com <mailto:alexandre.bergel@me.com>>:
>> I tried:
>>
>> ~/HackathonSattose2015> readlink --help
>> readlink: illegal option -- -
>> usage: readlink [-n] [file ...]
>> ~/HackathonSattose2015> readlink -help
>> readlink: illegal option -- h
>> usage: readlink [-n] [file ...]
>> ~/HackathonSattose2015> readlink -?
>> readlink: illegal option -- ?
>> usage: readlink [-n] [file ...]
>> ~/HackathonSattose2015> readlink -h
>> readlink: illegal option -- h
>> usage: readlink [-n] [file ...]
>> ~/HackathonSattose2015> readlink
>> ~/HackathonSattose2015>
>>
>> Thanks, this helps!
>>
>> I have updated the merge driver with a corrected merge script, which should work for you if you want to update.
>>
>> Thierry
>>
>>
>>
>>
>> > On Jul 9, 2015, at 10:34 AM, Thierry Goubier <thierry.goubier(a)gmail.com <mailto:thierry.goubier@gmail.com>> wrote:
>> >
>> > Alexandre, if you had the time, could you give me the output of
>> >
>> > readlink --help
>> >
>> > on your computer?
>> >
>> > Thanks,
>> >
>> > Thierry
>> >
>> > 2015-07-09 9:44 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com <mailto:alexandre.bergel@me.com>>:
>> > Ok, thanks!
>> >
>> > Alexandre
>> >
>> > > On Jul 8, 2015, at 11:39 PM, Thierry Goubier <thierry.goubier(a)gmail.com <mailto:thierry.goubier@gmail.com>> wrote:
>> > >
>> > > Le 08/07/2015 23:25, Alexandre Bergel a écrit :
>> > >> Thanks Thierry. Seems to work. But I get this error:
>> > >>
>> > >> ~/HackathonSattose2015> git merge master
>> > >> readlink: illegal option -- e
>> > >> usage: readlink [-n] [file ...]
>> > >> readlink: illegal option -- e
>> > >> usage: readlink [-n] [file ...]
>> > >> readlink: illegal option -- e
>> > >> usage: readlink [-n] [file â¦]
>> > >
>> > > Can you edit the merge file (~/Dropbox/Workspace/GitFileTree-MergeDriver/merge) and change that line:
>> > >
>> > > DIR=`readlink -e "$0"` || DIR="$0";
>> > >
>> > > to:
>> > >
>> > > DIR=`readlink "$0"` || DIR="$0";
>> > >
>> > > (I would have expected this to work as well on a mac... but it isn't the case :(:( The -e option is there to try to see through symlinks. I'll correct that.)
>> > >
>> > > Thierry
>> > >
>> > >>
>> > >> Any idea?
>> > >>
>> > >> Alexandre
>> > >>
>> > >>
>> > >>> On Jul 8, 2015, at 3:31 PM, Thierry Goubier <thierry.goubier(a)gmail.com <mailto:thierry.goubier@gmail.com>> wrote:
>> > >>>
>> > >>>
>> > >>>
>> > >>> 2015-07-08 15:24 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com <mailto:alexandre.bergel@me.com>>:
>> > >>> Thierry,
>> > >>>
>> > >>>>> $ git config --get merge.mcVersion.driver
>> > >>>>
>> > >>>> ~/HackathonSattose2015> git config --get merge.mcVersion.driver
>> > >>>> pathToGitFileTree-MergeDriver/merge --version %O %A %B
>> > >>>
>> > >>> Any idea how I can merge then?
>> > >>> Is this value what you expected?
>> > >>>
>> > >>> No.
>> > >>>
>> > >>> If you have your path for the merge command (something like
>> > >>> /User/Alexandre/GitFileTree-MergeDriver/merge ), then it should be:
>> > >>>
>> > >>> ~/HackathonSattose2015> git config --get merge.mcVersion.driver
>> > >>> /User/Alexandre/GitFileTree-MergeDriver/merge --version %O %A %B
>> > >>>
>> > >>> To correct it, what you can do by hand is:
>> > >>>
>> > >>> git config --global merge.mcVersion.driver "/User/Alexandre/GitFileTree-MergeDriver/merge --version %O %A %B"
>> > >>> git config --global merge.mcMethodProperties.driver "/User/Alexandre/GitFileTree-MergeDriver/merge --methodProperties %O %A %B"
>> > >>> git config --global merge.mcProperties.driver "/User/Alexandre/GitFileTree-MergeDriver/merge --properties %O %A %B"
>> > >>>
>> > >>> Don't forget to update the path !
>> > >>>
>> > >>> Thierry
>> > >>>
>> > >>>
>> > >>> Cheers,
>> > >>> Alexandre
>> > >>> --
>> > >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> > >>> Alexandre Bergel http://www.bergel.eu <http://www.bergel.eu/>
>> > >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>> > >>>
>> > >>>
>> > >>>
>> > >>>
>> > >>>
>> > >>
>> > >
>> > >
>> >
>> > --
>> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> > Alexandre Bergel http://www.bergel.eu <http://www.bergel.eu/>
>> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>> >
>> >
>> >
>> >
>> >
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel http://www.bergel.eu <http://www.bergel.eu/>
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>
>
July 9, 2015
Re: [Pharo-dev] merging in a filetree repository
by Thierry Goubier
Thanks.
I believe there are no options of stat or readlink that are the same
between linux and mac os X :(
I like Unix portability ;)
Thierry
2015-07-09 14:29 GMT+02:00 Christophe Demarey <Christophe.Demarey(a)inria.fr>:
> The man page lists available options on OS X:
>
> STAT(1) BSD General Commands Manual
> STAT(1)
>
> NAME
> readlink, stat -- display file status
>
> SYNOPSIS
> stat [-FLnq] [-f format | -l | -r | -s | -x] [-t timefmt] [file ...]
> readlink [-n] [file ...]
>
> DESCRIPTION
> The stat utility displays information about the file pointed to by
> file.
> Read, write or execute permissions of the named file are not required,
> but all directories listed in the path name leading to the file must
> be
> searchable. If no argument is given, stat displays information about
> the
> file descriptor for standard input.
>
> When invoked as readlink, only the target of the symbolic link is
> printed. If the given argument is not a symbolic link, readlink will
> print nothing and exit with an error.
>
> The information displayed is obtained by calling lstat(2) with the
> given
> argument and evaluating the returned structure.
>
> The options are as follows:
>
> -F As in ls(1), display a slash (`/') immediately after each
> path-
> name that is a directory, an asterisk (`*') after each that is
> executable, an at sign (`@') after each symbolic link, a
> percent
> sign (`%') after each whiteout, an equal sign (`=') after each
> socket, and a vertical bar (`|') after each that is a FIFO.
> The
> use of -F implies -l.
>
> -f format
> Display information using the specified format. See the
> FORMATS
> section for a description of valid formats.
>
> -L Use stat(2) instead of lstat(2). The information reported by
> stat will refer to the target of file, if file is a symbolic
> link, and not to file itself.
>
> -l Display output in ls -lT format.
>
> -n Do not force a newline to appear at the end of each piece of
> out-
> put.
>
> -q Suppress failure messages if calls to stat(2) or lstat(2)
> fail.
> When run as readlink, error messages are automatically sup-
> pressed.
>
> -r Display raw information. That is, for all the fields in the
> stat
> structure, display the raw, numerical value (for example,
> times
> in seconds since the epoch, etc.).
>
> -s Display information in ``shell output'', suitable for
> initializ-
> ing variables.
>
> -t timefmt
> Display timestamps using the specified format. This format is
> passed directly to strftime(3).
>
> -x Display information in a more verbose way as known from some
> Linux distributions.
>
>
>
> Le 9 juil. 2015 à 13:46, Thierry Goubier a écrit :
>
>
>
> 2015-07-09 13:41 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com>:
>
>> I tried:
>>
>> ~/HackathonSattose2015> readlink --help
>> readlink: illegal option -- -
>> usage: readlink [-n] [file ...]
>> ~/HackathonSattose2015> readlink -help
>> readlink: illegal option -- h
>> usage: readlink [-n] [file ...]
>> ~/HackathonSattose2015> readlink -?
>> readlink: illegal option -- ?
>> usage: readlink [-n] [file ...]
>> ~/HackathonSattose2015> readlink -h
>> readlink: illegal option -- h
>> usage: readlink [-n] [file ...]
>> ~/HackathonSattose2015> readlink
>> ~/HackathonSattose2015>
>>
>
> Thanks, this helps!
>
> I have updated the merge driver with a corrected merge script, which
> should work for you if you want to update.
>
> Thierry
>
>
>>
>>
>>
>> > On Jul 9, 2015, at 10:34 AM, Thierry Goubier <thierry.goubier(a)gmail.com>
>> wrote:
>> >
>> > Alexandre, if you had the time, could you give me the output of
>> >
>> > readlink --help
>> >
>> > on your computer?
>> >
>> > Thanks,
>> >
>> > Thierry
>> >
>> > 2015-07-09 9:44 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com>:
>> > Ok, thanks!
>> >
>> > Alexandre
>> >
>> > > On Jul 8, 2015, at 11:39 PM, Thierry Goubier <
>> thierry.goubier(a)gmail.com> wrote:
>> > >
>> > > Le 08/07/2015 23:25, Alexandre Bergel a écrit :
>> > >> Thanks Thierry. Seems to work. But I get this error:
>> > >>
>> > >> ~/HackathonSattose2015> git merge master
>> > >> readlink: illegal option -- e
>> > >> usage: readlink [-n] [file ...]
>> > >> readlink: illegal option -- e
>> > >> usage: readlink [-n] [file ...]
>> > >> readlink: illegal option -- e
>> > >> usage: readlink [-n] [file â¦]
>> > >
>> > > Can you edit the merge file
>> (~/Dropbox/Workspace/GitFileTree-MergeDriver/merge) and change that line:
>> > >
>> > > DIR=`readlink -e "$0"` || DIR="$0";
>> > >
>> > > to:
>> > >
>> > > DIR=`readlink "$0"` || DIR="$0";
>> > >
>> > > (I would have expected this to work as well on a mac... but it isn't
>> the case :(:( The -e option is there to try to see through symlinks. I'll
>> correct that.)
>> > >
>> > > Thierry
>> > >
>> > >>
>> > >> Any idea?
>> > >>
>> > >> Alexandre
>> > >>
>> > >>
>> > >>> On Jul 8, 2015, at 3:31 PM, Thierry Goubier <
>> thierry.goubier(a)gmail.com> wrote:
>> > >>>
>> > >>>
>> > >>>
>> > >>> 2015-07-08 15:24 GMT+02:00 Alexandre Bergel <
>> alexandre.bergel(a)me.com>:
>> > >>> Thierry,
>> > >>>
>> > >>>>> $ git config --get merge.mcVersion.driver
>> > >>>>
>> > >>>> ~/HackathonSattose2015> git config --get merge.mcVersion.driver
>> > >>>> pathToGitFileTree-MergeDriver/merge --version %O %A %B
>> > >>>
>> > >>> Any idea how I can merge then?
>> > >>> Is this value what you expected?
>> > >>>
>> > >>> No.
>> > >>>
>> > >>> If you have your path for the merge command (something like
>> > >>> /User/Alexandre/GitFileTree-MergeDriver/merge ), then it should be:
>> > >>>
>> > >>> ~/HackathonSattose2015> git config --get merge.mcVersion.driver
>> > >>> /User/Alexandre/GitFileTree-MergeDriver/merge --version %O %A %B
>> > >>>
>> > >>> To correct it, what you can do by hand is:
>> > >>>
>> > >>> git config --global merge.mcVersion.driver
>> "/User/Alexandre/GitFileTree-MergeDriver/merge --version %O %A %B"
>> > >>> git config --global merge.mcMethodProperties.driver
>> "/User/Alexandre/GitFileTree-MergeDriver/merge --methodProperties %O %A %B"
>> > >>> git config --global merge.mcProperties.driver
>> "/User/Alexandre/GitFileTree-MergeDriver/merge --properties %O %A %B"
>> > >>>
>> > >>> Don't forget to update the path !
>> > >>>
>> > >>> Thierry
>> > >>>
>> > >>>
>> > >>> Cheers,
>> > >>> Alexandre
>> > >>> --
>> > >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> > >>> Alexandre Bergel http://www.bergel.eu
>> > >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>> > >>>
>> > >>>
>> > >>>
>> > >>>
>> > >>>
>> > >>
>> > >
>> > >
>> >
>> > --
>> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> > Alexandre Bergel http://www.bergel.eu
>> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>> >
>> >
>> >
>> >
>> >
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>
>
July 9, 2015
ProportionalLayout indexForInserting: aMorph at: aPoint in: owner missing
by Stephan Eggermont
Why does ProportionalLayout not have an implementation of
indexForInserting: aMorph at: aPoint in: owner ?
I was trying to drag-and-drop columns and couldn't get
them to be reinserted att the right position.
Stephan
July 9, 2015
Re: [Pharo-dev] merging in a filetree repository
by Christophe Demarey
The man page lists available options on OS X:
STAT(1) BSD General Commands Manual STAT(1)
NAME
readlink, stat -- display file status
SYNOPSIS
stat [-FLnq] [-f format | -l | -r | -s | -x] [-t timefmt] [file ...]
readlink [-n] [file ...]
DESCRIPTION
The stat utility displays information about the file pointed to by file.
Read, write or execute permissions of the named file are not required,
but all directories listed in the path name leading to the file must be
searchable. If no argument is given, stat displays information about the
file descriptor for standard input.
When invoked as readlink, only the target of the symbolic link is
printed. If the given argument is not a symbolic link, readlink will
print nothing and exit with an error.
The information displayed is obtained by calling lstat(2) with the given
argument and evaluating the returned structure.
The options are as follows:
-F As in ls(1), display a slash (`/') immediately after each path-
name that is a directory, an asterisk (`*') after each that is
executable, an at sign (`@') after each symbolic link, a percent
sign (`%') after each whiteout, an equal sign (`=') after each
socket, and a vertical bar (`|') after each that is a FIFO. The
use of -F implies -l.
-f format
Display information using the specified format. See the FORMATS
section for a description of valid formats.
-L Use stat(2) instead of lstat(2). The information reported by
stat will refer to the target of file, if file is a symbolic
link, and not to file itself.
-l Display output in ls -lT format.
-n Do not force a newline to appear at the end of each piece of out-
put.
-q Suppress failure messages if calls to stat(2) or lstat(2) fail.
When run as readlink, error messages are automatically sup-
pressed.
-r Display raw information. That is, for all the fields in the stat
structure, display the raw, numerical value (for example, times
in seconds since the epoch, etc.).
-s Display information in ``shell output'', suitable for initializ-
ing variables.
-t timefmt
Display timestamps using the specified format. This format is
passed directly to strftime(3).
-x Display information in a more verbose way as known from some
Linux distributions.
Le 9 juil. 2015 à 13:46, Thierry Goubier a écrit :
>
>
> 2015-07-09 13:41 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com>:
> I tried:
>
> ~/HackathonSattose2015> readlink --help
> readlink: illegal option -- -
> usage: readlink [-n] [file ...]
> ~/HackathonSattose2015> readlink -help
> readlink: illegal option -- h
> usage: readlink [-n] [file ...]
> ~/HackathonSattose2015> readlink -?
> readlink: illegal option -- ?
> usage: readlink [-n] [file ...]
> ~/HackathonSattose2015> readlink -h
> readlink: illegal option -- h
> usage: readlink [-n] [file ...]
> ~/HackathonSattose2015> readlink
> ~/HackathonSattose2015>
>
> Thanks, this helps!
>
> I have updated the merge driver with a corrected merge script, which should work for you if you want to update.
>
> Thierry
>
>
>
>
> > On Jul 9, 2015, at 10:34 AM, Thierry Goubier <thierry.goubier(a)gmail.com> wrote:
> >
> > Alexandre, if you had the time, could you give me the output of
> >
> > readlink --help
> >
> > on your computer?
> >
> > Thanks,
> >
> > Thierry
> >
> > 2015-07-09 9:44 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com>:
> > Ok, thanks!
> >
> > Alexandre
> >
> > > On Jul 8, 2015, at 11:39 PM, Thierry Goubier <thierry.goubier(a)gmail.com> wrote:
> > >
> > > Le 08/07/2015 23:25, Alexandre Bergel a écrit :
> > >> Thanks Thierry. Seems to work. But I get this error:
> > >>
> > >> ~/HackathonSattose2015> git merge master
> > >> readlink: illegal option -- e
> > >> usage: readlink [-n] [file ...]
> > >> readlink: illegal option -- e
> > >> usage: readlink [-n] [file ...]
> > >> readlink: illegal option -- e
> > >> usage: readlink [-n] [file â¦]
> > >
> > > Can you edit the merge file (~/Dropbox/Workspace/GitFileTree-MergeDriver/merge) and change that line:
> > >
> > > DIR=`readlink -e "$0"` || DIR="$0";
> > >
> > > to:
> > >
> > > DIR=`readlink "$0"` || DIR="$0";
> > >
> > > (I would have expected this to work as well on a mac... but it isn't the case :(:( The -e option is there to try to see through symlinks. I'll correct that.)
> > >
> > > Thierry
> > >
> > >>
> > >> Any idea?
> > >>
> > >> Alexandre
> > >>
> > >>
> > >>> On Jul 8, 2015, at 3:31 PM, Thierry Goubier <thierry.goubier(a)gmail.com> wrote:
> > >>>
> > >>>
> > >>>
> > >>> 2015-07-08 15:24 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com>:
> > >>> Thierry,
> > >>>
> > >>>>> $ git config --get merge.mcVersion.driver
> > >>>>
> > >>>> ~/HackathonSattose2015> git config --get merge.mcVersion.driver
> > >>>> pathToGitFileTree-MergeDriver/merge --version %O %A %B
> > >>>
> > >>> Any idea how I can merge then?
> > >>> Is this value what you expected?
> > >>>
> > >>> No.
> > >>>
> > >>> If you have your path for the merge command (something like
> > >>> /User/Alexandre/GitFileTree-MergeDriver/merge ), then it should be:
> > >>>
> > >>> ~/HackathonSattose2015> git config --get merge.mcVersion.driver
> > >>> /User/Alexandre/GitFileTree-MergeDriver/merge --version %O %A %B
> > >>>
> > >>> To correct it, what you can do by hand is:
> > >>>
> > >>> git config --global merge.mcVersion.driver "/User/Alexandre/GitFileTree-MergeDriver/merge --version %O %A %B"
> > >>> git config --global merge.mcMethodProperties.driver "/User/Alexandre/GitFileTree-MergeDriver/merge --methodProperties %O %A %B"
> > >>> git config --global merge.mcProperties.driver "/User/Alexandre/GitFileTree-MergeDriver/merge --properties %O %A %B"
> > >>>
> > >>> Don't forget to update the path !
> > >>>
> > >>> Thierry
> > >>>
> > >>>
> > >>> Cheers,
> > >>> Alexandre
> > >>> --
> > >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > >>> Alexandre Bergel http://www.bergel.eu
> > >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>
> > >
> > >
> >
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >
> >
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
July 9, 2015
Re: [Pharo-dev] merging in a filetree repository
by Alexandre Bergel
Ok, thanks!
Alexandre
> On Jul 9, 2015, at 1:46 PM, Thierry Goubier <thierry.goubier(a)gmail.com> wrote:
>
>
>
> 2015-07-09 13:41 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com>:
> I tried:
>
> ~/HackathonSattose2015> readlink --help
> readlink: illegal option -- -
> usage: readlink [-n] [file ...]
> ~/HackathonSattose2015> readlink -help
> readlink: illegal option -- h
> usage: readlink [-n] [file ...]
> ~/HackathonSattose2015> readlink -?
> readlink: illegal option -- ?
> usage: readlink [-n] [file ...]
> ~/HackathonSattose2015> readlink -h
> readlink: illegal option -- h
> usage: readlink [-n] [file ...]
> ~/HackathonSattose2015> readlink
> ~/HackathonSattose2015>
>
> Thanks, this helps!
>
> I have updated the merge driver with a corrected merge script, which should work for you if you want to update.
>
> Thierry
>
>
>
>
> > On Jul 9, 2015, at 10:34 AM, Thierry Goubier <thierry.goubier(a)gmail.com> wrote:
> >
> > Alexandre, if you had the time, could you give me the output of
> >
> > readlink --help
> >
> > on your computer?
> >
> > Thanks,
> >
> > Thierry
> >
> > 2015-07-09 9:44 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com>:
> > Ok, thanks!
> >
> > Alexandre
> >
> > > On Jul 8, 2015, at 11:39 PM, Thierry Goubier <thierry.goubier(a)gmail.com> wrote:
> > >
> > > Le 08/07/2015 23:25, Alexandre Bergel a écrit :
> > >> Thanks Thierry. Seems to work. But I get this error:
> > >>
> > >> ~/HackathonSattose2015> git merge master
> > >> readlink: illegal option -- e
> > >> usage: readlink [-n] [file ...]
> > >> readlink: illegal option -- e
> > >> usage: readlink [-n] [file ...]
> > >> readlink: illegal option -- e
> > >> usage: readlink [-n] [file â¦]
> > >
> > > Can you edit the merge file (~/Dropbox/Workspace/GitFileTree-MergeDriver/merge) and change that line:
> > >
> > > DIR=`readlink -e "$0"` || DIR="$0";
> > >
> > > to:
> > >
> > > DIR=`readlink "$0"` || DIR="$0";
> > >
> > > (I would have expected this to work as well on a mac... but it isn't the case :(:( The -e option is there to try to see through symlinks. I'll correct that.)
> > >
> > > Thierry
> > >
> > >>
> > >> Any idea?
> > >>
> > >> Alexandre
> > >>
> > >>
> > >>> On Jul 8, 2015, at 3:31 PM, Thierry Goubier <thierry.goubier(a)gmail.com> wrote:
> > >>>
> > >>>
> > >>>
> > >>> 2015-07-08 15:24 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com>:
> > >>> Thierry,
> > >>>
> > >>>>> $ git config --get merge.mcVersion.driver
> > >>>>
> > >>>> ~/HackathonSattose2015> git config --get merge.mcVersion.driver
> > >>>> pathToGitFileTree-MergeDriver/merge --version %O %A %B
> > >>>
> > >>> Any idea how I can merge then?
> > >>> Is this value what you expected?
> > >>>
> > >>> No.
> > >>>
> > >>> If you have your path for the merge command (something like
> > >>> /User/Alexandre/GitFileTree-MergeDriver/merge ), then it should be:
> > >>>
> > >>> ~/HackathonSattose2015> git config --get merge.mcVersion.driver
> > >>> /User/Alexandre/GitFileTree-MergeDriver/merge --version %O %A %B
> > >>>
> > >>> To correct it, what you can do by hand is:
> > >>>
> > >>> git config --global merge.mcVersion.driver "/User/Alexandre/GitFileTree-MergeDriver/merge --version %O %A %B"
> > >>> git config --global merge.mcMethodProperties.driver "/User/Alexandre/GitFileTree-MergeDriver/merge --methodProperties %O %A %B"
> > >>> git config --global merge.mcProperties.driver "/User/Alexandre/GitFileTree-MergeDriver/merge --properties %O %A %B"
> > >>>
> > >>> Don't forget to update the path !
> > >>>
> > >>> Thierry
> > >>>
> > >>>
> > >>> Cheers,
> > >>> Alexandre
> > >>> --
> > >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > >>> Alexandre Bergel http://www.bergel.eu
> > >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>
> > >
> > >
> >
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >
> >
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
July 9, 2015
Re: [Pharo-dev] merging in a filetree repository
by Thierry Goubier
2015-07-09 13:41 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com>:
> I tried:
>
> ~/HackathonSattose2015> readlink --help
> readlink: illegal option -- -
> usage: readlink [-n] [file ...]
> ~/HackathonSattose2015> readlink -help
> readlink: illegal option -- h
> usage: readlink [-n] [file ...]
> ~/HackathonSattose2015> readlink -?
> readlink: illegal option -- ?
> usage: readlink [-n] [file ...]
> ~/HackathonSattose2015> readlink -h
> readlink: illegal option -- h
> usage: readlink [-n] [file ...]
> ~/HackathonSattose2015> readlink
> ~/HackathonSattose2015>
>
Thanks, this helps!
I have updated the merge driver with a corrected merge script, which should
work for you if you want to update.
Thierry
>
>
>
> > On Jul 9, 2015, at 10:34 AM, Thierry Goubier <thierry.goubier(a)gmail.com>
> wrote:
> >
> > Alexandre, if you had the time, could you give me the output of
> >
> > readlink --help
> >
> > on your computer?
> >
> > Thanks,
> >
> > Thierry
> >
> > 2015-07-09 9:44 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com>:
> > Ok, thanks!
> >
> > Alexandre
> >
> > > On Jul 8, 2015, at 11:39 PM, Thierry Goubier <
> thierry.goubier(a)gmail.com> wrote:
> > >
> > > Le 08/07/2015 23:25, Alexandre Bergel a écrit :
> > >> Thanks Thierry. Seems to work. But I get this error:
> > >>
> > >> ~/HackathonSattose2015> git merge master
> > >> readlink: illegal option -- e
> > >> usage: readlink [-n] [file ...]
> > >> readlink: illegal option -- e
> > >> usage: readlink [-n] [file ...]
> > >> readlink: illegal option -- e
> > >> usage: readlink [-n] [file â¦]
> > >
> > > Can you edit the merge file
> (~/Dropbox/Workspace/GitFileTree-MergeDriver/merge) and change that line:
> > >
> > > DIR=`readlink -e "$0"` || DIR="$0";
> > >
> > > to:
> > >
> > > DIR=`readlink "$0"` || DIR="$0";
> > >
> > > (I would have expected this to work as well on a mac... but it isn't
> the case :(:( The -e option is there to try to see through symlinks. I'll
> correct that.)
> > >
> > > Thierry
> > >
> > >>
> > >> Any idea?
> > >>
> > >> Alexandre
> > >>
> > >>
> > >>> On Jul 8, 2015, at 3:31 PM, Thierry Goubier <
> thierry.goubier(a)gmail.com> wrote:
> > >>>
> > >>>
> > >>>
> > >>> 2015-07-08 15:24 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com
> >:
> > >>> Thierry,
> > >>>
> > >>>>> $ git config --get merge.mcVersion.driver
> > >>>>
> > >>>> ~/HackathonSattose2015> git config --get merge.mcVersion.driver
> > >>>> pathToGitFileTree-MergeDriver/merge --version %O %A %B
> > >>>
> > >>> Any idea how I can merge then?
> > >>> Is this value what you expected?
> > >>>
> > >>> No.
> > >>>
> > >>> If you have your path for the merge command (something like
> > >>> /User/Alexandre/GitFileTree-MergeDriver/merge ), then it should be:
> > >>>
> > >>> ~/HackathonSattose2015> git config --get merge.mcVersion.driver
> > >>> /User/Alexandre/GitFileTree-MergeDriver/merge --version %O %A %B
> > >>>
> > >>> To correct it, what you can do by hand is:
> > >>>
> > >>> git config --global merge.mcVersion.driver
> "/User/Alexandre/GitFileTree-MergeDriver/merge --version %O %A %B"
> > >>> git config --global merge.mcMethodProperties.driver
> "/User/Alexandre/GitFileTree-MergeDriver/merge --methodProperties %O %A %B"
> > >>> git config --global merge.mcProperties.driver
> "/User/Alexandre/GitFileTree-MergeDriver/merge --properties %O %A %B"
> > >>>
> > >>> Don't forget to update the path !
> > >>>
> > >>> Thierry
> > >>>
> > >>>
> > >>> Cheers,
> > >>> Alexandre
> > >>> --
> > >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > >>> Alexandre Bergel http://www.bergel.eu
> > >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>
> > >
> > >
> >
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >
> >
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
July 9, 2015
Re: [Pharo-dev] merging in a filetree repository
by Alexandre Bergel
I tried:
~/HackathonSattose2015> readlink --help
readlink: illegal option -- -
usage: readlink [-n] [file ...]
~/HackathonSattose2015> readlink -help
readlink: illegal option -- h
usage: readlink [-n] [file ...]
~/HackathonSattose2015> readlink -?
readlink: illegal option -- ?
usage: readlink [-n] [file ...]
~/HackathonSattose2015> readlink -h
readlink: illegal option -- h
usage: readlink [-n] [file ...]
~/HackathonSattose2015> readlink
~/HackathonSattose2015>
> On Jul 9, 2015, at 10:34 AM, Thierry Goubier <thierry.goubier(a)gmail.com> wrote:
>
> Alexandre, if you had the time, could you give me the output of
>
> readlink --help
>
> on your computer?
>
> Thanks,
>
> Thierry
>
> 2015-07-09 9:44 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com>:
> Ok, thanks!
>
> Alexandre
>
> > On Jul 8, 2015, at 11:39 PM, Thierry Goubier <thierry.goubier(a)gmail.com> wrote:
> >
> > Le 08/07/2015 23:25, Alexandre Bergel a écrit :
> >> Thanks Thierry. Seems to work. But I get this error:
> >>
> >> ~/HackathonSattose2015> git merge master
> >> readlink: illegal option -- e
> >> usage: readlink [-n] [file ...]
> >> readlink: illegal option -- e
> >> usage: readlink [-n] [file ...]
> >> readlink: illegal option -- e
> >> usage: readlink [-n] [file â¦]
> >
> > Can you edit the merge file (~/Dropbox/Workspace/GitFileTree-MergeDriver/merge) and change that line:
> >
> > DIR=`readlink -e "$0"` || DIR="$0";
> >
> > to:
> >
> > DIR=`readlink "$0"` || DIR="$0";
> >
> > (I would have expected this to work as well on a mac... but it isn't the case :(:( The -e option is there to try to see through symlinks. I'll correct that.)
> >
> > Thierry
> >
> >>
> >> Any idea?
> >>
> >> Alexandre
> >>
> >>
> >>> On Jul 8, 2015, at 3:31 PM, Thierry Goubier <thierry.goubier(a)gmail.com> wrote:
> >>>
> >>>
> >>>
> >>> 2015-07-08 15:24 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com>:
> >>> Thierry,
> >>>
> >>>>> $ git config --get merge.mcVersion.driver
> >>>>
> >>>> ~/HackathonSattose2015> git config --get merge.mcVersion.driver
> >>>> pathToGitFileTree-MergeDriver/merge --version %O %A %B
> >>>
> >>> Any idea how I can merge then?
> >>> Is this value what you expected?
> >>>
> >>> No.
> >>>
> >>> If you have your path for the merge command (something like
> >>> /User/Alexandre/GitFileTree-MergeDriver/merge ), then it should be:
> >>>
> >>> ~/HackathonSattose2015> git config --get merge.mcVersion.driver
> >>> /User/Alexandre/GitFileTree-MergeDriver/merge --version %O %A %B
> >>>
> >>> To correct it, what you can do by hand is:
> >>>
> >>> git config --global merge.mcVersion.driver "/User/Alexandre/GitFileTree-MergeDriver/merge --version %O %A %B"
> >>> git config --global merge.mcMethodProperties.driver "/User/Alexandre/GitFileTree-MergeDriver/merge --methodProperties %O %A %B"
> >>> git config --global merge.mcProperties.driver "/User/Alexandre/GitFileTree-MergeDriver/merge --properties %O %A %B"
> >>>
> >>> Don't forget to update the path !
> >>>
> >>> Thierry
> >>>
> >>>
> >>> Cheers,
> >>> Alexandre
> >>> --
> >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >>> Alexandre Bergel http://www.bergel.eu
> >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> >
> >
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
July 9, 2015