You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Geoffrey <li...@serioustechnology.com> on 2007/06/29 19:30:26 UTC

confusing 'svn update'

I must have a confused view of how 'svn update.'

Here's the scenario.  User Billy Bob makes changes to a file and commits 
said changes.

I execute an 'svn update' but my file remains unchanged.  Should it not 
be updated to reflect the recent changes Billy Bob made?

I then removed the file, run 'svn update' and the file is replaced with 
the file that has Billy Bob's changes.

Someone have a ticket for the clue train for me?

-- 
Until later, Geoffrey

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
  - Benjamin Franklin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: confusing 'svn update'

Posted by KM <in...@yahoo.com>.
Was the version of the file in your working copy untouched  (unedited, and exactly as the file was before Billy Bob made his changes?) ?
   
  That is the only reason I can think of that subversion would not update it your area - If you change it it won't update it, assuming you need your mods in tact.
   
  Sorry I can't help you more - If you send the exact commands as suggested by Matt -maybe we can help more.
  KM

Matt Sickler <cr...@gmail.com> wrote:
  By "precise list of steps to recreate the problem" we usually mean a
bash script (or similar) that starts out with creating a repo and then
does what the two users do.
Prose does not really help us debug whats going on - and your case is
indeed strange.

On 6/29/07, Geoffrey 
wrote:
> Eric Hanchrow wrote:
> >>>>>> "Geoffrey" == Geoffrey 
writes:
> >
> > Geoffrey> I execute an 'svn update' but my file remains unchanged.
> > Geoffrey> Should it not be updated to reflect the recent changes
> > Geoffrey> Billy Bob made?
> >
> > I would think so, assuming it's the "same" file (i.e., not some
> > unrelated file, in a different directory, that happens to have the
> > same name).
> >
> > Geoffrey> I then removed the file, run 'svn update' and the file
> > Geoffrey> is replaced with the file that has Billy Bob's changes.
> >
> > Geoffrey> Someone have a ticket for the clue train for me?
> >
> > Yow, no. I'm as confused as you are. If you can come up with a
> > precise set of steps that reliably reproduces the problem, I'd like to
> > see it.
>
> I'll see if I can reproduce the problem. Here are the exact steps:
>
> 1. Billy Bob modifies file on his laptop in his work area. Full path is
> /foo/bar/foobar.pm. He is sitting in the /foo/bar directory. He
> commits these changes.
>
> 2. I go to /foo/bar on my laptop. Execute 'svn update'. I do not get a
> new version of foobar.pm. I remove my copy of foobar.pm. I execute
> 'svn update.' I get a new version of foobar.pm that contains the
> changes Billy Bob put into the file.
>
> This should be easily reproduced. I'll try to do that and post back my
> results.
>
> --
> Until later, Geoffrey
>
> Those who would give up essential Liberty, to purchase a little
> temporary Safety, deserve neither Liberty nor Safety.
> - Benjamin Franklin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org



 
---------------------------------
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.

Re: confusing 'svn update'

Posted by Matt Sickler <cr...@gmail.com>.
By "precise list of steps to recreate the problem" we usually mean a
bash script (or similar) that starts out with creating a repo and then
does what the two users do.
Prose does not really help us debug whats going on - and your case is
indeed strange.

On 6/29/07, Geoffrey <li...@serioustechnology.com> wrote:
> Eric Hanchrow wrote:
> >>>>>> "Geoffrey" == Geoffrey  <li...@serioustechnology.com> writes:
> >
> >     Geoffrey> I execute an 'svn update' but my file remains unchanged.
> >     Geoffrey> Should it not be updated to reflect the recent changes
> >     Geoffrey> Billy Bob made?
> >
> > I would think so, assuming it's the "same" file (i.e., not some
> > unrelated file, in a different directory, that happens to have the
> > same name).
> >
> >     Geoffrey> I then removed the file, run 'svn update' and the file
> >     Geoffrey> is replaced with the file that has Billy Bob's changes.
> >
> >     Geoffrey> Someone have a ticket for the clue train for me?
> >
> > Yow, no.  I'm as confused as you are.  If you can come up with a
> > precise set of steps that reliably reproduces the problem, I'd like to
> > see it.
>
> I'll see if I can reproduce the problem.  Here are the exact steps:
>
> 1. Billy Bob modifies file on his laptop in his work area.  Full path is
> /foo/bar/foobar.pm.  He is sitting in the /foo/bar directory.  He
> commits these changes.
>
> 2. I go to /foo/bar on my laptop.  Execute 'svn update'.  I do not get a
> new version of foobar.pm.  I remove my copy of foobar.pm.  I execute
> 'svn update.'  I get a new version of foobar.pm that contains the
> changes Billy Bob put into the file.
>
> This should be easily reproduced.  I'll try to do that and post back my
> results.
>
> --
> Until later, Geoffrey
>
> Those who would give up essential Liberty, to purchase a little
> temporary Safety, deserve neither Liberty nor Safety.
>   - Benjamin Franklin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: confusing 'svn update'

Posted by Geoffrey <li...@serioustechnology.com>.
Eric Hanchrow wrote:
>>>>>> "Geoffrey" == Geoffrey  <li...@serioustechnology.com> writes:
> 
>     Geoffrey> I execute an 'svn update' but my file remains unchanged.
>     Geoffrey> Should it not be updated to reflect the recent changes
>     Geoffrey> Billy Bob made?
> 
> I would think so, assuming it's the "same" file (i.e., not some
> unrelated file, in a different directory, that happens to have the
> same name).
> 
>     Geoffrey> I then removed the file, run 'svn update' and the file
>     Geoffrey> is replaced with the file that has Billy Bob's changes.
> 
>     Geoffrey> Someone have a ticket for the clue train for me?
> 
> Yow, no.  I'm as confused as you are.  If you can come up with a
> precise set of steps that reliably reproduces the problem, I'd like to
> see it.

I'll see if I can reproduce the problem.  Here are the exact steps:

1. Billy Bob modifies file on his laptop in his work area.  Full path is 
/foo/bar/foobar.pm.  He is sitting in the /foo/bar directory.  He 
commits these changes.

2. I go to /foo/bar on my laptop.  Execute 'svn update'.  I do not get a 
new version of foobar.pm.  I remove my copy of foobar.pm.  I execute 
'svn update.'  I get a new version of foobar.pm that contains the 
changes Billy Bob put into the file.

This should be easily reproduced.  I'll try to do that and post back my 
results.

-- 
Until later, Geoffrey

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
  - Benjamin Franklin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: confusing 'svn update'

Posted by Eric Hanchrow <of...@blarg.net>.
>>>>> "Geoffrey" == Geoffrey  <li...@serioustechnology.com> writes:

    Geoffrey> I execute an 'svn update' but my file remains unchanged.
    Geoffrey> Should it not be updated to reflect the recent changes
    Geoffrey> Billy Bob made?

I would think so, assuming it's the "same" file (i.e., not some
unrelated file, in a different directory, that happens to have the
same name).

    Geoffrey> I then removed the file, run 'svn update' and the file
    Geoffrey> is replaced with the file that has Billy Bob's changes.

    Geoffrey> Someone have a ticket for the clue train for me?

Yow, no.  I'm as confused as you are.  If you can come up with a
precise set of steps that reliably reproduces the problem, I'd like to
see it.

-- 
That is the true genius of America ... that our votes will be
counted, at least most of the time.
        -- Barack Obama, 2004 Democratic National Convention

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org