[darcs-users] Getting started with tailor

Lele Gaifax lele at nautilus.homeip.net
Tue Mar 1 22:13:28 UTC 2005


>>>>> "Jean" == Jean Jordaan <jean at upfrontsystems.co.za> writes:

    Jean> Sorry for being the newbie here ..  Starting from scratch:

Every body here has been there too, don't worry :)

    Jean> jean at klippie ~/work/tailor-repos $ tailor.py --debug
    Jean> --bootstrap \ --source-kind=svn
    Jean> --repository=svn://..../trunk \ ./learnlinux-darcs-trunk

    Jean> Now I want to see if anything has changed remotely:

    Jean> jean at klippie ~/work/tailor-repos $ tailor.py --debug
    Jean> --verbose learnlinux-darcs-trunk/

    Jean> Updating 'trunk' from revision '154' TZ=UTC svn log
    Jean> --verbose --xml --revision 155:HEAD . 2>&1 ... [Error 256]

    Jean> Is that the right way to check for remote changes?

No, that way you are *actually* fetching upstream changes, not just
looking at them. As you see, tailor needs the same information, and
that "svn log --revision :HEAD somedir" is something that may produce
what you are seeking.

    Jean> What's that Error 256?

svn log exits with that status when there is nothing in the specified
revision range, or, for what we are talking about, there's no upstream
change in the tree we are watching.  I know it's annoying to see that
"error"-that's-not-really-an-error, but it's a minor issue.

    Jean> Does anyone have any more pointers or howtos? I've found
    Jean> "Rough HOWTO for two way sync'ing between SVN and darcs"
    Jean> http://www.darcs.net/pipermail/darcs-users/2005-January/005070.html
    Jean> and http://www.scannedinavian.org/DarcsWiki/Tailor but I
    Jean> still don't feel comfortable that I know enough.

So you are in good position to clarify that page, eventually asking
here.  Please do that, if you found it unclear/incomplete.  As Mark
said, I usually try to fix broken behaviour as soon as possible, but
given that I'm not using a two-way path to upstream source, I'm more
worried by the problematic situation thas has been discussed under the
"sharing patches with svn" thread, I still do not have a good idea on
how to handle the situation.

I'm currently very busy on other things, but I'm always keeping a
little slot of time for tailor, for which I'm currently (slowly)
redesigning the configuration.

ciao, lele.
-- 
nickname: Lele Gaifax	| Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas	| comincerò ad aver paura di chi mi copia.
email: lele at seldati.it	|		-- Fortunato Depero, 1929.





More information about the darcs-users mailing list