Jan Hudec | 1 Jul 08:33 2005
Picon

Re: Locale question

On Thu, Jun 30, 2005 at 16:22:27 -0400, Jason McCarty wrote:
> Szilard Hajba wrote:
> > Hi!
> > 
> > When I looked into my log I found the following:
> > 
> > devel <at> symbion.hu--symbion-2005/isdk--mainline--2.3--patch-20
> >     k jún 28 11:06:15 CEST 2005
> >     Szilard Hajba <szilu <at> symbion.hu>
> >     Code cleanup
> > [...]
> > 
> > It seems to me that tla puts the date in the format of the locale of the
> > client machine. It looks weird, wouldn't it be better to store a locale
> > independent date in the files and format it for displaying?
> 
> I'm not sure which command this output is from, but if you
> `tla cat-archive-log` one of these revisions, you'll see that a
> locale-specific Date field and a uniform Standard-date field are stored
> in the logs. So you would want the command to extract Standard-date
> instead.

The "you" however is the tla binary. And it is broken for the log
message to depend on locale of the creator.

The Date should be according to rfc2822, but it obviously isn't.

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb <at> ucw.cz>
(Continue reading)

Matteo Settenvini | 1 Jul 22:03 2005
Picon

i/o error mirroring archive with sftp

Hi!

I'm a newcomer in this list. I started using GNU Arch only recently, and
I found it a wonderful SCM! Thanks :-)

However, I'm encountering a problem when mirroring an archive of mine
with sftp. If I (for example):

$ tla my-default-archive me <at> nomorespam.org--stradivari
$ tla make-archive --listing --mirror me <at> nomorespam.com--stradivari \
	${HOME}/{archives}/tmp
$ tla archive-mirror

everything goes alright. I can also "tla get"
me <at> nomorespam.com--stradivari-MIRROR in a directory of my choice.
This is with a mirror on the local filesystem, as you can see.

However, if I:

$ tla register-archive -d me <at> nomorespam.com--stradivari-MIRROR
$ tla make-archive --listing --mirror me <at> nomorespam.com--stradivari
sftp://user <at> my.host.org/Tmp/{archives}/stradivari

it gives the following output:

$ tla archive-mirror
Password:
* mirroring me <at> nomorespam.com--stradivari to
me <at> nomorespam.com--stradivari-MIRROR with limit (null)
* creating version
(Continue reading)

Robert Widhopf-Fenk | 4 Jul 00:42 2005
Picon

Re: [PATCH] Re: bazaar bug #385 (Re: Stabilizing Bazaar?)

On Tuesday, May 24, 2005 at 00:47:38, Robert Widhopf-Fenk wrote:
> On Monday, May 23, 2005 at 20:51:49, Matthieu Moy wrote:
> > Robert Collins <rbcollins <at> cygwin.com> writes:
> > 
> > > Anyway, I've added a check to arch_find_local_tree_copy (which
> > > all reference tree lookups go though) to validate the tree
> > > metadata. If the tree does not match what we expected (both
> > > revision and default-version) then its removed and a new one
> > > created.
> > 
> > Good. Robert (Widhopf-Fenk), can you try the latest revision of
> > the official baz 1.4?
> 
> I'll do it when finding time.

Finally I did some debugging.

My problem comes from a call to arch_archive_connect_branch
within arch_build_revision.   It was called for an archive
which I did not register and thus returned NULL.

Cheers Robert

int
arch_build_revision (t_uchar const * const dest_dir,
                     struct arch_archive * arch,
                     t_uchar const * const archive, 
                     t_uchar const * const revision,
                     arch_project_tree_t * cache)
{
(Continue reading)

martin f krafft | 4 Jul 12:32 2005
Picon

Fwd: not changing default =tagging-method

Dear arch users and developers,

In [0], I proposed to have vim's swap files to be added to
=tagging-method per default. I asked Robert Collins of bazaar as
well as Andrew Suffield, the Debian maintainer of tla. While Robert
implemented my suggestion almost immediately (at least he said so),
Andrew Suffield came up with the following response, which is all
too typical for him:

> The default =tagging-method isn't changing. Lusers can use their
> own damn editor.

My message serves two purposes: (a) could you please consider my
proposed change for the upstream code so we don't have to deal with
Andrew Suffield'ss atttitude problems, and (b) I just wanted you to
know who's representing you towards the Debian community. It's
hardly surprising that Debian developers prefer bazaar instead of
working to make tla better.

  0. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=309204

--

-- 
 .''`.     martin f. krafft <madduck <at> debian.org>
: :'  :    proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system

Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!

"all i know is that i'm being sued for unfair business 
(Continue reading)

Nikolai Weibull | 4 Jul 19:58 2005

Getting a diff between two revisions

Hi!

I would like to see the changes that took place on a file between two
revisions.  All I can find is how to see the changes between a local
copy and the repository.  How would I go about doing this?  Thanks,
        nikolai

--

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

Matthieu Moy | 4 Jul 20:39 2005
Picon
Picon

Re: Getting a diff between two revisions

Nikolai Weibull <mailing-lists.gnu-arch-users <at> rawuncut.elitemail.org> writes:

> I would like to see the changes that took place on a file between two
> revisions.  All I can find is how to see the changes between a local
> copy and the repository.  How would I go about doing this?  Thanks,

For a complete tree, the command you're looking for is "delta".

For separate files, I don't know if there's a simpler way to do it,
but

  diff `baz file-find ...` `baz file-find ...`

does the trick.

--

-- 
Matthieu

Matthieu Moy | 4 Jul 23:24 2005
Picon
Picon

Re: [PATCH] Re: bazaar bug #385 (Re: Stabilizing Bazaar?)

Robert Widhopf-Fenk <hack <at> robf.de> writes:

> My problem comes from a call to arch_archive_connect_branch
> within arch_build_revision.   It was called for an archive
> which I did not register and thus returned NULL.

Then, it was not a real "bug", but a bad error message.

I've just comitted a patch to issue an explicit error message in your
case, and "exit(2)".

Is it OK?

--

-- 
Matthieu

Brian May | 6 Jul 01:28 2005
Picon
Picon

Re: Fwd: not changing default =tagging-method

>>>>> "martin" == martin f krafft <madduck <at> debian.org> writes:

    martin> Dear arch users and developers, In [0], I proposed to have
    martin> vim's swap files to be added to =tagging-method per
    martin> default. I asked Robert Collins of bazaar as well as
    martin> Andrew Suffield, the Debian maintainer of tla. While
    martin> Robert implemented my suggestion almost immediately (at
    martin> least he said so), Andrew Suffield came up with the
    martin> following response, which is all too typical for him:

    >> The default =tagging-method isn't changing. Lusers can use
    >> their own damn editor.

I got the same response too. Which kind of confused me, because my
request had nothing to do with editors. Maybe I was right, he *did*
close the wrong bug report by mistake.

Anyway, the bug I filled was bug #146480,
<URL:http://bugs.debian.org/146480>. I asked for clarification, and he
gave me clarification. Unfortunately, he did so via private mail, so I
can't repost his answer. However, it was along the lines of "upstream
won't make the change and I don't want to go against upstream". This
seem fair enough.

I am kind of confused though, my tla =tagging method (on an old
archive) on some of my archives already seems to support vim swap
files, but as a "backup" file not a "precious" file:

backup ^.*(~|\.~[0-9]+~|\.bak|\.swp|\.orig|\.rej|\.original|\.modified|\.reject)$
unrecognized ^(.*\.(o|a|so|core|so(\.[[:digit:]]+)*)|core)$
(Continue reading)

John A Meinel | 6 Jul 01:44 2005

Re: Fwd: not changing default =tagging-method

Brian May wrote:.
...

>I notice with a recent baz archive it is:
>
>backup ^.*(~|\.~[0-9]+~|\.bak|\.sw(o|p)|\.orig|\.rej|\.original|\.modified|\.reject|\.(o|a|so|core|so(\.[[:digit:]]+)*))$|^core$
>unrecognized ^$
>
>What is the difference between a .swo and a .swp file?
>
>
Both are vim backup/temporary files. But if .swp exists, usually vim
creates a new one with .swo. And if that exists it uses .swn, I'm not
sure how far that goes, because I've only seen .swn.This happens if you
open the same file twice, or if you open the file, and your machine
dies/network connection dies.

>I guess my above quotes above serve to demonstrate different people
>have different opinions of the usefulness of the "unrecognized"
>category.
>
>
Unrecognized means give an error (generally). Backup means ignore it
entirely.
It was Tom's original belief that trees should be clean before you
commit. (And that you should generally build outside the source tree
anyway.)

The bazaar people decided that blocking a commit just because there was
a .o file in the tree was poor form, and did away with it. (Same thing
(Continue reading)

martin f krafft | 6 Jul 09:46 2005
Picon

Re: Fwd: not changing default =tagging-method

also sprach Brian May <bam <at> snoopy.apana.org.au> [2005.07.06.0128 +0200]:
> I am kind of confused though, my tla =tagging method (on an old
> archive) on some of my archives already seems to support vim swap
> files, but as a "backup" file not a "precious" file:
> 
> backup ^.*(~|\.~[0-9]+~|\.bak|\.swp|\.orig|\.rej|\.original|\.modified|\.reject)$
> unrecognized ^(.*\.(o|a|so|core|so(\.[[:digit:]]+)*)|core)$

Mh, not here...

> I notice with a recent baz archive it is:
> 
> backup ^.*(~|\.~[0-9]+~|\.bak|\.sw(o|p)|\.orig|\.rej|\.original|\.modified|\.reject|\.(o|a|so|core|so(\.[[:digit:]]+)*))$|^core$
> unrecognized ^$

Yeah, Robert Collins immediately enacted my request. Sure, he is
upstream, but Andrew's response is still pretty pathetic. Debian's
role has always been to make changes and contribute them to
upstream. Andrew is thus simply being lazy and purposely
counter-productive.

> What is the difference between a .swo and a .swp file?

when a .swp already exists and you choose to ignore it, a .swo will
be used for the current session.

--

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net <at> madduck

(Continue reading)


Gmane