You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Deiced First <de...@hotmail.com> on 2005/03/03 18:46:52 UTC

Change head revision

Hi, subversion experts ;)

May I ask a question? I have been looking for a similar one, but I'm afraid 
I could not find it.

Well, as far as I know the last revision you commit to a repository is the 
revision you get when, in example, another user update from the repository. 
Am I rigth?

My question is ... Can I change something in the repository to point to 
other revision on some files? In example, for the file 'class1.java' I have 
in my repository the revision #1,#3 and #5. One day, I decide to change the 
file and commit a new revision (the #99), but someone on the proyect says 
that this already commited revision has to wait, in example, one week. I 
don't want to loose my pretty new modification, but also I would like to 
avoid updating it from the repository until next week.

The dirty-easy way, maybe, is to create a new revision #100 from the #99, 
but with the content of the #5. Or maybe delete the #99 and keep the source 
in another folder. Is there any cleaner svn way of doing this?

Really thanks.

deiced



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

Re: Change head revision

Posted by Ben Collins-Sussman <su...@collab.net>.
On Mar 3, 2005, at 12:46 PM, Deiced First wrote:

> Hi, subversion experts ;)
>
> May I ask a question? I have been looking for a similar one, but I'm 
> afraid I could not find it.
>
> Well, as far as I know the last revision you commit to a repository is 
> the revision you get when, in example, another user update from the 
> repository. Am I rigth?
>
> My question is ... Can I change something in the repository to point 
> to other revision on some files? In example, for the file 
> 'class1.java' I have in my repository the revision #1,#3 and #5. One 
> day, I decide to change the file and commit a new revision (the #99), 
> but someone on the proyect says that this already commited revision 
> has to wait, in example, one week. I don't want to loose my pretty new 
> modification, but also I would like to avoid updating it from the 
> repository until next week.

Sounds like you want to use branches.  Read about it in chapter 4.


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