How to move uncommitted changes to Head to a branch and then reset the Head to the original state in SVN? -
i created local re-create of big os project. dabbling did not bother branching . anyway ended making changes source , created extension it. have not committed in local(so @ head modifications). realize move changes branch , reset head whatever original version or current state of project servers.
how can move changes sitting @ head in uncommitted stage branch create farther modifications? , reset head premodif state or current state server. 1 time moved in place going create proper patch against current head project.
thanks
to knowledge, svn isn't distributed system, there no concept of local head , remote head. rather, there one, canonical head, known trunk in svn parlance.
as question, create svn branch through copy command 2 remote urls. things proceed you'd expect.
copy myworkingcopy myworkingcopybackup checkout new version remote make myworkingcopy instance of new branch copy myworkingcopybackup myworkingcopy, replacing aside .svn directory checkinyou should golden, changes checked new branch , pristine trunk
svn
No comments:
Post a Comment