Re: svn:externals using git submodules

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andy Parkins
Date: Tuesday, May 1, 2007 - 11:36 am

On Tuesday 2007, May 01, Chris Shoemaker wrote:


Yes and no.  Think of svn:externals as a file in the parent repository; 
it contains

 directory-name URL

Now, changes to that file _are_ tracked, in that if I changed the URL 
that change would be recorded in the parent repository.  However, 
nowhere is the revision of the external recorded.  Subversion always 
fetches the latest revision at that URL.


They don't.  If they did, they'd be just as useful as git's submodules.


Well, I'm thinking that that information /can/ be reconstructed from the 
revision date information - kind of - the problem is that there is no 
way to know when the parent updated the module.   svn:externals really 
is just a quick way of doing
 $ cd submodule
 $ svn update
That's it.  That's all you get.  We could guess that when the parent 
module was at date YYYY-MM-DD, that the submodule would be at that same 
date - but who knows?



Andy
-- 
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
svn:externals using git submodules, Andy Parkins, (Tue May 1, 3:21 am)
Re: svn:externals using git submodules, Chris Shoemaker, (Tue May 1, 8:07 am)
Re: svn:externals using git submodules, Shawn O. Pearce, (Tue May 1, 8:22 am)
Re: svn:externals using git submodules, Chris Shoemaker, (Tue May 1, 8:36 am)
Re: svn:externals using git submodules, Shawn O. Pearce, (Tue May 1, 8:40 am)
Re: svn:externals using git submodules, Andy Parkins, (Tue May 1, 11:36 am)
Re: svn:externals using git submodules, Andy Parkins, (Tue May 1, 11:39 am)
Re: svn:externals using git submodules, Chris Shoemaker, (Tue May 1, 12:17 pm)
Re: svn:externals using git submodules, Andy Parkins, (Tue May 1, 12:48 pm)
Re: svn:externals using git submodules, Chris Shoemaker, (Tue May 1, 1:23 pm)
Re: svn:externals using git submodules, Linus Torvalds, (Tue May 1, 3:19 pm)
Re: svn:externals using git submodules, Junio C Hamano, (Tue May 1, 3:37 pm)
Re: svn:externals using git submodules, Shawn O. Pearce, (Tue May 1, 4:16 pm)
Re: svn:externals using git submodules, Michel Jouvin, (Wed Jan 20, 6:58 am)