You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Colin Braly <co...@gmail.com> on 2013/03/06 16:39:58 UTC

[SVN UPDATE] Is the "--accept postpone" option strickly included in the "--non-interactive" one ?

Hi there,

As regards conflicts, with the command "svn update" :
- SVN prompt :

# svn updateConflict discovered in 'test.txt'.Select: (p) postpone,
(df) diff-full, (e) edit,
        (mc) mine-conflict, (tc) theirs-conflict,
        (s) show all options:

- With a "svn update --accept postpone", nothing is printed (*"take no
resolution action at all and instead allow the conflicts to be recorded for
future resolution"*).
- Nothing is print with a "svn update--non-interactive" either.

=> Is the "--accept postpone" option strickly included in the
"--non-interactive" one, for a svn update which bring one or more conflicts
?

Thanks a lot,
Colin

Re: [SVN UPDATE] Is the "--accept postpone" option strickly included in the "--non-interactive" one ?

Posted by Colin Braly <co...@gmail.com>.
Hi, thank you for the answer.

Well, my bad : when I said "nothin is printed", I mean not these lines :
> Conflict discovered in 'test.txt'.
> Select: (p) postpone, (df) diff-full, (e) edit,
>         (mc) mine-conflict, (tc) theirs-conflict,
>         (s) show all options:
But yeah, of course, the test file is marked with a "C" ;)
Sorry for my misexplanation.

And again, thank you for this :
> When in non-interactive mode, Subversion can't ask you how you want to
> handle conflicts.  So, by default, yes, --accept=postpone is the mode that
> the update will operate in.

It's exactly what I wanted to know !


2013/3/6 C. Michael Pilato <cm...@collab.net>

> On 03/06/2013 10:39 AM, Colin Braly wrote:
> > Hi there,
> >
> > As regards conflicts, with the command "svn update" :
> > - SVN prompt :
> >
> > |# svn update
> > Conflict discovered in 'test.txt'.
> > Select: (p) postpone, (df) diff-full, (e) edit,
> >         (mc) mine-conflict, (tc) theirs-conflict,
> >         (s) show all options:|
> >
> > - With a "svn update --accept postpone", nothing is printed (/"take no
> > resolution action at all and instead allow the conflicts to be recorded
> for
> > future resolution"/).
> > - Nothing is print with a "svn update--non-interactive" either.
>
> Nothing is printed?  That should be.  You should at least see a line such
> as
> "C  text.txt" that notes that your file is in a state of conflict.
>
> > => Is the "--accept postpone" option strickly included in the
> > "--non-interactive" one, for a svn update which bring one or more
> conflicts ?
>
> When in non-interactive mode, Subversion can't ask you how you want to
> handle conflicts.  So, by default, yes, --accept=postpone is the mode that
> the update will operate in.  You can, however, choose a different mode with
> --accept=SOMETHING_ELSE if you wish.
>
> --
> C. Michael Pilato <cm...@collab.net>
> CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development
>
>

Re: [SVN UPDATE] Is the "--accept postpone" option strickly included in the "--non-interactive" one ?

Posted by "C. Michael Pilato" <cm...@collab.net>.
On 03/06/2013 10:39 AM, Colin Braly wrote:
> Hi there,
> 
> As regards conflicts, with the command "svn update" :
> - SVN prompt :
> 
> |# svn update
> Conflict discovered in 'test.txt'.
> Select: (p) postpone, (df) diff-full, (e) edit,
>         (mc) mine-conflict, (tc) theirs-conflict,
>         (s) show all options:|
> 
> - With a "svn update --accept postpone", nothing is printed (/"take no
> resolution action at all and instead allow the conflicts to be recorded for
> future resolution"/).
> - Nothing is print with a "svn update--non-interactive" either.

Nothing is printed?  That should be.  You should at least see a line such as
"C  text.txt" that notes that your file is in a state of conflict.

> => Is the "--accept postpone" option strickly included in the
> "--non-interactive" one, for a svn update which bring one or more conflicts ?

When in non-interactive mode, Subversion can't ask you how you want to
handle conflicts.  So, by default, yes, --accept=postpone is the mode that
the update will operate in.  You can, however, choose a different mode with
--accept=SOMETHING_ELSE if you wish.

-- 
C. Michael Pilato <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development