gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] how do I protect against this user error


From: Tom Lord
Subject: Re: [Gnu-arch-users] how do I protect against this user error
Date: Mon, 23 Feb 2004 15:19:26 -0800 (PST)

    > From: "Robert Anderson" <address@hidden>

    > Something I do all the time and then get irritated fixing it, is
    > update or replay into a tree that has local changes that I don't
    > want mixed in with the applied patches.

    > What I really wanted to do was either to undo the local changes,
    > then bring in the merges and commit them, or I wanted to commit
    > the local changes, then do the update.

    > One answer is "have more discipline before issuing commands" but
    > hey, that apparently isn't going to happen without a brain
    > transplant, so I want to guard against this in an automated way.

    > Seems like what I want is an analog of tree-lint that kicks me
    > out of the update or replay if the tree state isn't clean wrt
    > local changes.

    > Anyone else have this itch?

#!/bin/sh
set -e
tla what-changed --diffs [...]
tla udpate [...]

?

-t





reply via email to

[Prev in Thread] Current Thread [Next in Thread]