Hans-Peter Nilsson - Re: Overwrite a file with "svn update"? (original) (raw)
This is the mail archive of the gcc@gcc.gnu.orgmailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] |
- From: Hans-Peter Nilsson
- To: Steve Kargl
- Cc: Jim Blandy , gcc at gcc dot gnu dot org
- Date: Sun, 20 Nov 2005 11:27:18 -0500 (EST)
- Subject: Re: Overwrite a file with "svn update"?
- References: <20051119150235.GA69104@troutmask.apl.washington.edu> <8f2776cb0511191129q2599b8e6h56a93d2d6b7e8fb5@mail.gmail.com> <20051119201631.GA72403@troutmask.apl.washington.edu>
On Sat, 19 Nov 2005, Steve Kargl wrote:
On Sat, Nov 19, 2005 at 11:29:36AM -0800, Jim Blandy wrote: I believe if the file is in a cvs repository and the copy in your local tree was not obtained via a checkout, cvs will replace the local file with whatever is in the repository.
No, it'll continue to update the rest of the tree but emit an error (i.e. not bail out immediately like svn). IIRC.
However, if I'm understanding it right, here Subversion is hesitating to replace a file with a file of the same name whose contents are the same. Is that correct?
Yes.
I see this regularly too, like when I write a test-case in another tree than where I'll commit it and forget to remove it before the next update of the first tree. I like Jim Blandy's suggestion that svn could just emit some informational message if the contents is the same as the some revision (first or HEAD presumably) and just go on.
brgds, H-P
- Follow-Ups:
- Re: Overwrite a file with "svn update"?
* From: Andreas Schwab
- Re: Overwrite a file with "svn update"?
- References:
- Overwrite a file with "svn update"?
* From: Steve Kargl - Re: Overwrite a file with "svn update"?
* From: Jim Blandy - Re: Overwrite a file with "svn update"?
* From: Steve Kargl
- Overwrite a file with "svn update"?
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |