svn - get subdirectory version given parent directory version -


for following directory structure, in specified revision(r1234, example) of a, how revision number of b check out correct revision of b.

a - (r1234)   |_ b - (this r1222)   |_ c - (i don't need directory)   |_ d - (i don't need directory) 

svn maintains file system rev number. every change part of file system new rev. in other words, each rev corresponds version of entire file system though part of file system wouldn't have changed.

if check out, or update to, or export, rev, means "give me contents of svn file system in rev.

when a->r1234 , b (subdirectory) -> r1222, means in revision 1234, b untouched not mean b @ rev r1222, @ r1234.

so guess, looking : latest change touched subdirectory "b" 

this can done going subdirectory , issuing log command

svn log --limit 1 -r .. 

Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -