On Wed, 2008-08-27 at 13:29 -0700, Jim Marks - Sun Microsystems wrote:
> In order to push a change to the ON gate, must my clone be in sync with the
> for the entire repo I am pushing to?

yes.

> Since 'push' doesn't take pathname args (or have a Codemgs_ws/args file) it
> looks like the designer's intention was to require synchronization.  That
> seems like overkill when putting back one file to a 5000 file repo.

it seems entirely appropriate as a check against putting back half of a
project, or unfinished parts of your next project - you need to
construct a tree containing the parent plus just the changes you intend
to put back; you can then test as much as you need to and then push only
what you intend to put back.

> The message also mentions using "push -f".  I assume that either it
> doesn't work, or we aren't supposed to used it?

it's deliberately disallowed because it would create a mess in the gate
that gatekeepers would have to clean up.

                                        - Bill


Reply via email to