On Tue, Jul 26, 2011 at 8:08 AM, Thomas Clement <tclementdev_at_gmail.com>wrote:
> Hello list,
>
> I have a repository which contains an external to another repository with a
> fixed revision number.
> Something like: "-rxxx svn+ssh://..."
>
> I noticed I can make modifications inside this external and commit the
> modifications.
> At which point the external is actually above its fixed revision number
> (xxx+1 for example).
>
> "svn status" does not mention this particular state and "svn up" does not
> bring the external back to its fixed revision number.
>
> What bothers my is that doing a checkout of the repository will get me to a
> different state but doing "svn status" and "svn up" on my working copy does
> not alert me of that.
> How can I check if my externals are above their fixed revision number?
>
> Maybe it is just a bad idea to edit and commit inside externals?
>
>
> Regards,
> Thomas
Subversion will let you do this, because for others it may be desired. As
with most things, it depends on your use case. We had a similar one as
yours. You may want to set a tag for your externals, then yes, don't work on
it (don't commit to it). Have your external directory to also have trunk,
tags, branches. Work on the trunk in a separate area. Tag it. Set your
working copies to reference this tag. It's an easy thing to mess up. Most
IDE's will alert you upon commit that you are committing to multiple
branches...
Received on 2011-07-26 17:21:20 CEST